Skip to content

Commit a8a0ecd

Browse files
committed
TO-DROP: try overwriting the MSYS2 runtime already when building
This is mainly for testing the PowerShell snippet Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7d9eaaf commit a8a0ecd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v3
2929
- uses: git-for-windows/setup-git-for-windows-sdk@v1
30+
- name: replace the MSYS2 runtime
31+
shell: powershell
32+
run: |
33+
Invoke-WebRequest -Headers @{ Authorization = "token ${{ secrets.GITHUB_TOKEN }}" } "https://api.github.com/repos/msys2/msys2-runtime/actions/artifacts/1082027388/zip" -outfile "a1.zip"
34+
Expand-Archive -DestinationPath D:/git-sdk-64-minimal a1.zip
35+
Remove-Item a1.zip
3036
- name: build
3137
shell: bash
3238
env:
3339
HOME: ${{runner.workspace}}
3440
NO_PERL: 1
35-
run: . /etc/profile && ci/make-test-artifacts.sh artifacts
41+
run: uname -a && . /etc/profile && ci/make-test-artifacts.sh artifacts
3642
- name: zip up tracked files
3743
run: git archive -o artifacts/tracked.tar.gz HEAD
3844
- name: upload tracked files and build artifacts

0 commit comments

Comments
 (0)