From da9a03c59cddd95cf478a83687c855486a0597ab Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Thu, 26 Sep 2024 12:32:54 +0800 Subject: [PATCH] ci: Fix workflow breakage on version bump (attempt 2) (#280) --- .github/workflows/build-env-docker.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-env-docker.yml b/.github/workflows/build-env-docker.yml index 43bbf702..1bef53ee 100644 --- a/.github/workflows/build-env-docker.yml +++ b/.github/workflows/build-env-docker.yml @@ -72,11 +72,14 @@ jobs: mkdir -p /tmp/digests digest="${{ steps.build.outputs.digest }}" touch "/tmp/digests/${digest#sha256:}" + DIGEST_SUFFIX=${{ matrix.platform }} + DIGEST_SUFFIX="${DIGEST_SUFFIX//\//_}" + echo "DIGEST_SUFFIX=$DIGEST_SUFFIX" >> $GITHUB_ENV - name: Upload digest uses: actions/upload-artifact@v4 with: - name: digests-${{ matrix.runs-on }} + name: digests-${{ env.DIGEST_SUFFIX }} path: /tmp/digests/* if-no-files-found: error retention-days: 1