authorgravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2022-11-25 20:46:02+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-09 14:42:26-07:00
log1d34eafe6cbbc574d6673644b1dc3007caafd943
treedada46e37b7f6359e2b3a7a28821d6be5b79223a
parent71355ef0e221f37a4a281a1414043020404fec64

ci: windows: fetch before checking out specific commit


1 files changed, 1 insertions(+), 0 deletions(-)

.github/workflows/ci.yaml+1
...@@ -127,6 +127,7 @@ jobs:...@@ -127,6 +127,7 @@ jobs:
127 if ((git rev-parse --is-shallow-repository) -eq "true") {127 if ((git rev-parse --is-shallow-repository) -eq "true") {
128 git fetch --unshallow # `git describe` won't work on a shallow repo128 git fetch --unshallow # `git describe` won't work on a shallow repo
129 }129 }
130 git fetch
130 git checkout ${{ inputs.commit }}131 git checkout ${{ inputs.commit }}
131 rm -rf ci132 rm -rf ci
132 mv ../ci .133 mv ../ci .