From cf31112e823058b055b14b9bcb2524abf9cd6a11 Mon Sep 17 00:00:00 2001 From: Jamil Date: Tue, 2 Jan 2024 13:08:38 -0800 Subject: [PATCH] fix(ci): Use unique name for artifacts (#3091) Fixes https://github.com/firezone/firezone/actions/runs/7390085822/job/20104967154 See https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md --- .github/workflows/_elixir.yml | 2 +- .github/workflows/cd.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_elixir.yml b/.github/workflows/_elixir.yml index 7b5cf396b..142d417d9 100644 --- a/.github/workflows/_elixir.yml +++ b/.github/workflows/_elixir.yml @@ -505,7 +505,7 @@ jobs: && always() }} uses: actions/upload-artifact@v4 with: - name: screenshots + name: screenshots-${{ matrix.MIX_TEST_PARTITION }} path: elixir/apps/web/screenshots - name: Test Report uses: dorny/test-reporter@v1 diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 3973d7e25..07fd7a92a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -228,7 +228,7 @@ jobs: - name: Upload digest uses: actions/upload-artifact@v4 with: - name: digests + name: ${{ matrix.name.artifact }}-digest path: /tmp/digests/* if-no-files-found: error retention-days: 1