From b1346f3ccdb7f19fe97d94fc69d13afd72e4eb55 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:02:46 +0100 Subject: [PATCH] Update pytest artifact actions to v4 (#110906) --- .github/workflows/ci.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fdf5ed6d697..ab8171fdb23 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -800,10 +800,11 @@ jobs: 2>&1 | tee pytest-${{ matrix.python-version }}-${{ matrix.group }}.txt - name: Upload pytest output if: success() || failure() && (steps.pytest-full.conclusion == 'failure' || steps.pytest-partial.conclusion == 'failure') - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4.3.1 with: - name: pytest-${{ github.run_number }} + name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ matrix.group }} path: pytest-*.txt + overwrite: true - name: Upload coverage artifact if: needs.info.outputs.skip_coverage != 'true' uses: actions/upload-artifact@v4.3.1 @@ -927,10 +928,12 @@ jobs: 2>&1 | tee pytest-${{ matrix.python-version }}-${mariadb}.txt - name: Upload pytest output if: success() || failure() && steps.pytest-partial.conclusion == 'failure' - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4.3.1 with: - name: pytest-${{ github.run_number }} + name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ + steps.pytest-partial.outputs.mariadb }} path: pytest-*.txt + overwrite: true - name: Upload coverage artifact if: needs.info.outputs.skip_coverage != 'true' uses: actions/upload-artifact@v4.3.1 @@ -1056,10 +1059,12 @@ jobs: 2>&1 | tee pytest-${{ matrix.python-version }}-${postgresql}.txt - name: Upload pytest output if: success() || failure() && steps.pytest-partial.conclusion == 'failure' - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4.3.1 with: - name: pytest-${{ github.run_number }} + name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ + steps.pytest-partial.outputs.postgresql }} path: pytest-*.txt + overwrite: true - name: Upload coverage artifact if: needs.info.outputs.skip_coverage != 'true' uses: actions/upload-artifact@v4.3.1