mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
ci: windows: fetch before checking out specific commit
This commit is contained in:
parent
71355ef0e2
commit
1d34eafe6c
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -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 .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user