Skip to content

Commit

Permalink
fix: upload-artifact@v4 breake in release
Browse files Browse the repository at this point in the history
Error:
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Signed-off-by: Yadong Ding <[email protected]>
  • Loading branch information
Desiki-high authored and imeoer committed Jan 18, 2024
1 parent a3922b8 commit eae9ed7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: store-artifacts
uses: actions/upload-artifact@v4
with:
name: nydus-release-tarball
name: nydus-release-tarball-${{ matrix.os }}-${{ matrix.arch }}
path: |
${{ env.tarball }}
${{ env.tarball_shasum }}
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
- name: store-artifacts
uses: actions/upload-artifact@v4
with:
name: nydus-release-tarball
name: nydus-release-tarball-${{ matrix.os }}-${{ matrix.arch }}
path: |
${{ env.tarball }}
${{ env.tarball_shasum }}
Expand All @@ -185,7 +185,8 @@ jobs:
- name: download artifacts
uses: actions/download-artifact@v4
with:
name: nydus-release-tarball
pattern: nydus-release-tarball-*
merge-multiple: true
path: nydus-tarball
- name: prepare release env
run: |
Expand Down

0 comments on commit eae9ed7

Please sign in to comment.