瀏覽代碼

CI: Add checkout to fix gh CLI usage

The gh CLI utility will fail without a git checkout.
Ryan Foster 3 月之前
父節點
當前提交
7e894a56f4
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      .github/workflows/publish.yaml

+ 6 - 0
.github/workflows/publish.yaml

@@ -22,6 +22,12 @@ jobs:
       flatpakMatrix: ${{ steps.check.outputs.flatpakMatrix }}
       updateChannel: ${{ steps.check.outputs.updateChannel }}
     steps:
+      - uses: actions/checkout@v4
+        with:
+          submodules: recursive
+          fetch-depth: 0
+          set-safe-directory: ${{ env.GITHUB_WORKSPACE }}
+
       - name: Check Release Tag ☑️
         id: check
         env: