From f3be8a0f525eb2cca887a13d30ba9659211d5020 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 12 Feb 2024 17:25:30 +0100 Subject: [PATCH] fixup! ci: add a workflow to test custom MSYS2 runtimes --- .github/workflows/test-msys2-runtime.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-msys2-runtime.yml b/.github/workflows/test-msys2-runtime.yml index 8da1ce43..53c15ce1 100644 --- a/.github/workflows/test-msys2-runtime.yml +++ b/.github/workflows/test-msys2-runtime.yml @@ -17,7 +17,7 @@ env: jobs: minimal-sdk-artifact: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: mxschmitt/action-tmate@v3 with: @@ -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 @@ -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: