1
0
Эх сурвалжийг харах

CI: Add checkout to fix gh CLI usage

The gh CLI utility will fail without a git checkout.
Ryan Foster 3 сар өмнө
parent
commit
7e894a56f4

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

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