authorgravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2022-11-25 20:46:02+01:00
committergravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2022-11-25 20:46:02+01:00
log5b9d0a446af4e74c9f915a34b39de83d9b2335f9
tree17440235b00c8e2a2b1b93cb0d22d011dcf551f6
parent45120f929cbe87952c5361db9028495a41b656b5

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 .