Skip to content

Commit

Permalink
fixup! ci: add a workflow to test custom MSYS2 runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
dscho committed Feb 12, 2024
1 parent 6ba3b5a commit f3be8a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-msys2-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
minimal-sdk-artifact:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: mxschmitt/action-tmate@v3
with:
Expand All @@ -28,7 +28,7 @@ jobs:
with:
script: |
const [ owner, repo ] = process.env.G4W_SDK_REPO.split('/')
const info = await github.actions.listWorkflowRuns({
const info = await github.rest.actions.listWorkflowRuns({
owner,
repo,
workflow_id: 938271, // ci-artifacts.yml
Expand Down Expand Up @@ -66,6 +66,7 @@ jobs:
curl -H "Authorization: token ${{secrets.GITHUB_TOKEN}}" \
-#sLo /tmp/"$name".zip "$MSYS2_RUNTIME_ARTIFACT_URL" &&
unzip -q -d minimal-sdk /tmp/"$name".zip
- run: minimal-sdk\usr\bin\uname.exe -a
- name: upload minimal-sdk artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f3be8a0

Please sign in to comment.