Skip to content

Commit

Permalink
fix Failed to CreateArtifact: Received non-retryable error: Failed re…
Browse files Browse the repository at this point in the history
…quest: (409) Conflict: an artifact with this name already exists on the workflow run

reported in actions/upload-artifact#478
  • Loading branch information
janosh committed Apr 18, 2024
1 parent 3543115 commit 4d3dcaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
uses: actions/upload-artifact@v4
with:
path: wheelhouse
# https://github.com/actions/upload-artifact/issues/478#issuecomment-1885470013
name: dist-${{ matrix.os }}-${{ matrix.python-version }}

release:
name: Release wheels and source distribution to PyPI
Expand All @@ -74,6 +76,8 @@ jobs:
with:
name: artifact
path: dist
merge-multiple: true
pattern: dist-*

- name: Publish to PyPi or TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 4d3dcaa

Please sign in to comment.