From 4dfa9479837c67ce0061c3eeb846c91bf3d1afcf Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Mon, 2 Dec 2024 16:24:01 +0000 Subject: [PATCH] CI: Ensure uploaded test artifacts have a unique name Without this, if two CI runs on Linux both fail and want to upload screenshots, we get an error like this on the second: > Error: Failed to CreateArtifact: Received non-retryable error: Failed > request: (409) Conflict: an artifact with this name already exists on > the workflow run Using all the inputs as part of the name should make this kind of conflict impossible. --- .github/workflows/lagom-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lagom-template.yml b/.github/workflows/lagom-template.yml index b2c0d75cd00e..c0ba92128d96 100644 --- a/.github/workflows/lagom-template.yml +++ b/.github/workflows/lagom-template.yml @@ -190,7 +190,7 @@ jobs: if: ${{ always() && inputs.fuzzer == 'NO_FUZZ' }} uses: actions/upload-artifact@v4 with: - name: libweb-test-artifacts-${{ inputs.os_name }} + name: libweb-test-artifacts-${{ inputs.os_name }}-${{inputs.fuzzer}}-${{inputs.toolchain}}-${{inputs.clang-plugins}} path: ${{ github.workspace }}/Build/UI/Headless/test-dumps retention-days: 7 if-no-files-found: ignore