commit 1d34eafe6cbbc574d6673644b1dc3007caafd943 (tree)
parent 71355ef0e221f37a4a281a1414043020404fec64
Author: Loris Cro <kappaloris@gmail.com>
Date: Fri, 25 Nov 2022 20:46:02 +0100
ci: windows: fetch before checking out specific commit
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.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 .