Skip to content

Commit

Permalink
TO-DROP: try overwriting the MSYS2 runtime already when building
Browse files Browse the repository at this point in the history
This is mainly for testing the PowerShell snippet

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Feb 2, 2024
1 parent c18b275 commit 6dffa81
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,18 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: git-for-windows/setup-git-for-windows-sdk@v1
- name: replace the MSYS2 runtime
shell: powershell
run: |
Invoke-WebRequest -Headers @{ Authorization = "token ${{ secrets.GITHUB_TOKEN }}" } "https://api.github.com/repos/msys2/msys2-runtime/actions/artifacts/1215171508/zip" -outfile "a1.zip"
Expand-Archive -Force -DestinationPath D:/git-sdk-64-minimal a1.zip
Remove-Item a1.zip
- name: build
shell: bash
env:
HOME: ${{runner.workspace}}
NO_PERL: 1
run: . /etc/profile && ci/make-test-artifacts.sh artifacts
run: uname -a && . /etc/profile && ci/make-test-artifacts.sh artifacts
- name: zip up tracked files
run: git archive -o artifacts/tracked.tar.gz HEAD
- name: upload tracked files and build artifacts
Expand Down

0 comments on commit 6dffa81

Please sign in to comment.