authorgravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2022-11-25 20:41:33+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-09 14:42:22-07:00
log71355ef0e221f37a4a281a1414043020404fec64
treeaac52a251a513b31aa6840fcc045e23d5432c102
parenta6e7c431368d8d0519beeae118c0c58a903cf169

ci: windows: unshallow repository before checking specific commit


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

.github/workflows/ci.yaml+3
......@@ -124,6 +124,9 @@ jobs:
124124 run: |
125125 rm -rf ../ci
126126 cp -r ci ../
127 if ((git rev-parse --is-shallow-repository) -eq "true") {
128 git fetch --unshallow # `git describe` won't work on a shallow repo
129 }
127130 git checkout ${{ inputs.commit }}
128131 rm -rf ci
129132 mv ../ci .