zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 45120f929cbe87952c5361db9028495a41b656b5 (tree)
parent f4c63400f0d87c6c24e11995501f119a6029b683
Author: Loris Cro <kappaloris@gmail.com>
Date:   Fri, 25 Nov 2022 20:41:33 +0100

ci: windows: unshallow repository before checking specific commit

Diffstat:
M.github/workflows/ci.yaml | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

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