| ... | @@ -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 repo | 128 | 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 ci | 132 | rm -rf ci |
| 132 | mv ../ci . | 133 | mv ../ci . |