diff --git a/.github/workflows/test-binaries-qemu.yml b/.github/workflows/test-binaries-qemu.yml index 357ae02..b831aff 100644 --- a/.github/workflows/test-binaries-qemu.yml +++ b/.github/workflows/test-binaries-qemu.yml @@ -19,6 +19,7 @@ jobs: - name: Download coveralls-linux-x86_64 binary uses: actions/download-artifact@v4 with: + run-id: ${{ github.event.workflow_run.id }} name: coveralls-linux-binaries path: ./artifacts - name: Test binary @@ -37,7 +38,7 @@ jobs: run: | echo "Available artifacts:" curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - "https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts" | jq '.artifacts[] | .name' + "https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}/artifacts" | jq '.artifacts[] | .name' - name: Set up QEMU for aarch64 emulation uses: docker/setup-qemu-action@v3 with: @@ -45,6 +46,7 @@ jobs: - name: Download coveralls-linux-aarch64 binary uses: actions/download-artifact@v4 with: + run-id: ${{ github.event.workflow_run.id }} name: coveralls-linux-binaries path: ./artifacts - name: Test binary diff --git a/.github/workflows/test-binaries.yml b/.github/workflows/test-binaries.yml index fbcc7e1..684457b 100644 --- a/.github/workflows/test-binaries.yml +++ b/.github/workflows/test-binaries.yml @@ -29,6 +29,7 @@ jobs: - name: Download built artifacts (linux binaries) uses: actions/download-artifact@v4 with: + run-id: ${{ github.event.workflow_run.id }} name: coveralls-linux-binaries path: ./binaries/