From 6352f248f7bd1932793839f1ba02cbbdb5d1d05d Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 18 Dec 2023 20:33:00 +0000 Subject: [PATCH] Build/Test Tools: Add more context to artifact names. This adds a bit more context to the E2E workflow artifact names in order to avoid duplicates being uploaded. With the update to v4 of `actions/upload-artifact` in [57197], artifacts are now uploaded on a per job basis. Multiple jobs cannot upload the same artifact. Props johnbillion. See #59805. git-svn-id: https://develop.svn.wordpress.org/trunk@57203 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/end-to-end-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index 7890328231..25f37b5d4b 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -131,7 +131,7 @@ jobs: uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 if: always() with: - name: failures-artifacts + name: failures-artifacts${{ matrix.LOCAL_SCRIPT_DEBUG && '-SCRIPT_DEBUG' || '' }}-${{ github.run_id }} path: artifacts if-no-files-found: ignore