diff --git a/.github/actions/set-matrix-output/action.yml b/.github/actions/set-matrix-output/action.yml index 9024ee0cd..ca85195b0 100644 --- a/.github/actions/set-matrix-output/action.yml +++ b/.github/actions/set-matrix-output/action.yml @@ -1,7 +1,7 @@ name: 'Set matrix output' description: 'Use artifacts as a workaround for matrix outputs not being supported' inputs: - file-name: + artifact-name: required: true test-outcome: required: true @@ -10,11 +10,11 @@ runs: using: "composite" steps: - name: Save output file - run: echo ${{ inputs.test-outcome }} > ${{ inputs.file-name }} + run: echo ${{ inputs.test-outcome }} > ${{ inputs.artifact-name }}.txt shell: bash - name: Upload output file uses: actions/upload-artifact@v3 with: - name: ${{ inputs.file-name }} - path: ${{ inputs.file-name }} + name: ${{ inputs.artifact-name }} + path: ${{ inputs.artifact-name }}.txt diff --git a/.github/workflows/stage-tests.yml b/.github/workflows/stage-tests.yml index 7f8916222..610f4cef1 100644 --- a/.github/workflows/stage-tests.yml +++ b/.github/workflows/stage-tests.yml @@ -113,7 +113,7 @@ jobs: if: ${{ inputs.commit_sha != '' && !cancelled() }} uses: ./.github/actions/set-matrix-output with: - file-name: sdist.${{ matrix.distros[1] }}.txt + artifact-name: sdist.${{ matrix.distros[1] }} test-outcome: ${{ steps.test.outcome }} # We also run some wheel (QE test category 2) tests @@ -189,7 +189,7 @@ jobs: if: ${{ inputs.commit_sha != '' && !cancelled() }} uses: ./.github/actions/set-matrix-output with: - file-name: ${{ matrix.python-version[1] }}-manylinux_${{ matrix.platform[0] }}.${{ matrix.distros[1] }}.txt + artifact-name: ${{ matrix.python-version[1] }}-manylinux_${{ matrix.platform[0] }}.${{ matrix.distros[1] }} test-outcome: ${{ steps.test.outcome }} manylinux_debian: @@ -258,7 +258,7 @@ jobs: if: ${{ inputs.commit_sha != '' && !cancelled() }} uses: ./.github/actions/set-matrix-output with: - file-name: ${{ matrix.python-version[1] }}-manylinux_${{ matrix.platform[0] }}.${{ matrix.debian-name }}.txt + artifact-name: ${{ matrix.python-version[1] }}-manylinux_${{ matrix.platform[0] }}.${{ matrix.debian-name }} test-outcome: ${{ steps.test.outcome }} manylinux_ubuntu2204: @@ -322,7 +322,7 @@ jobs: if: ${{ inputs.commit_sha != '' && !cancelled() }} uses: ./.github/actions/set-matrix-output with: - file-name: cp310-manylinux_${{ matrix.platform[0] }}.ubuntu2204.txt + artifact-name: cp310-manylinux_${{ matrix.platform[0] }}.ubuntu2204 test-outcome: ${{ steps.test.outcome }} macOS: @@ -387,5 +387,5 @@ jobs: if: ${{ inputs.commit_sha != '' && !cancelled() }} uses: ./.github/actions/set-matrix-output with: - file-name: ${{ matrix.python-version[1] }}-macosx_x86_64.${{ matrix.macos-version }}.txt + artifact-name: ${{ matrix.python-version[1] }}-macosx_x86_64.${{ matrix.macos-version }} test-outcome: ${{ steps.test.outcome }}