Skip to content

Commit 7d9eaaf

Browse files
committed
ci: overwrite MSYS2 runtime with recent build
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 9965238 commit 7d9eaaf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

+6
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ jobs:
6060
shell: bash
6161
run: tar xf artifacts.tar.gz && tar xf tracked.tar.gz
6262
- uses: git-for-windows/setup-git-for-windows-sdk@v1
63+
- name: replace the MSYS2 runtime
64+
shell: powershell
65+
run: |
66+
Invoke-WebRequest -Headers @{ Authorization = "token ${{ secrets.GITHUB_TOKEN }}" } "https://api.github.com/repos/msys2/msys2-runtime/actions/artifacts/1082027388/zip" -outfile "a1.zip"
67+
Expand-Archive -DestinationPath D:/git-sdk-64-minimal a1.zip
68+
Remove-Item a1.zip
6369
- name: test
6470
shell: bash
6571
run: . /etc/profile && ci/run-test-slice.sh ${{matrix.nr}} 10

0 commit comments

Comments
 (0)