ci: windows: fetch before checking out specific commit

This commit is contained in:
Loris Cro 2022-11-25 20:46:02 +01:00 committed by Andrew Kelley
parent 71355ef0e2
commit 1d34eafe6c

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 .