Commit 1d34eafe6c

Loris Cro <kappaloris@gmail.com>
2022-11-25 20:46:02
ci: windows: fetch before checking out specific commit
1 parent 71355ef
Changed files (1)
.github
workflows
.github/workflows/ci.yaml
@@ -127,6 +127,7 @@ jobs:
           if ((git rev-parse --is-shallow-repository) -eq "true") {
               git fetch --unshallow # `git describe` won't work on a shallow repo
           }
+          git fetch
           git checkout ${{ inputs.commit }}
           rm -rf ci
           mv ../ci .