ci: windows: fetch before checking out specific commit

This commit is contained in:
Loris Cro
2022-11-25 20:46:02 +01:00
parent 45120f929c
commit 5b9d0a446a

View File

@@ -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 .