Skip to content

Commit b3bc29b

Browse files
committed
TO-DROP: ci: test various patch levels of the MSYS2 runtime
These correspond to the individual commits of the `git-for-windows-pathconv-adjustments` branch of https://github.com/dscho/Cygwin-msys2-fork. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 946c457 commit b3bc29b

File tree

1 file changed

+29
-4
lines changed

1 file changed

+29
-4
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,26 @@ jobs:
5353
strategy:
5454
fail-fast: false
5555
matrix:
56-
nr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
56+
- nr: 1
57+
run: 7072653564
58+
- nr: 2
59+
run: 7072653731
60+
- nr: 3
61+
run: 7072653988
62+
- nr: 4
63+
run: 7072654240
64+
- nr: 5
65+
run: 7072654509
66+
- nr: 6
67+
run: 7072654736
68+
- nr: 7
69+
run: 7072654943
70+
- nr: 8
71+
run: 7072654990
72+
- nr: 9
73+
run: 7072655045
74+
- nr: 10
75+
run: 7072655115
5776
concurrency:
5877
group: windows-test-${{ matrix.nr }}-${{ github.ref }}
5978
steps:
@@ -69,9 +88,15 @@ jobs:
6988
- name: replace the MSYS2 runtime
7089
shell: powershell
7190
run: |
72-
Invoke-WebRequest -Headers @{ Authorization = "token ${{ secrets.GITHUB_TOKEN }}" } "https://api.github.com/repos/msys2/msys2-runtime/actions/artifacts/1082027388/zip" -outfile "a1.zip"
73-
Expand-Archive -Force -DestinationPath D:/git-sdk-64-minimal a1.zip
74-
Remove-Item a1.zip
91+
$headers = @{ Authorization = "token '${{ secrets.GITHUB_TOKEN }}'" }
92+
93+
$run_url = "https://api.github.com/repos/dscho/Cygwin-msys2-fork/actions/runs/${{ matrix.run }}/artifacts"
94+
$run = ((Invoke-WebRequest -Headers $headers $run_url).content | ConvertFrom-JSON)
95+
$zip_url = $run.artifacts.archive_download_url
96+
97+
Invoke-WebRequest -Headers $headers $zip_url -outfile "install.zip"
98+
Expand-Archive -Force -DestinationPath D:/git-sdk-64-minimal install.zip
99+
Remove-Item install.zip
75100
- name: test
76101
shell: bash
77102
timeout-minutes: 12

0 commit comments

Comments
 (0)