Skip to content

Commit

Permalink
Fix upload-artifact@v4 changes
Browse files Browse the repository at this point in the history
Error message was

[error]Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Following instructions at
actions/upload-artifact#478 (comment)
  • Loading branch information
rogerbinns committed Jan 15, 2024
1 parent 936b74c commit 3a18e61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.os }}
path: ./wheelhouse/*.whl


Expand Down Expand Up @@ -53,6 +54,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist-qemu-${{ matrix.arch }}
path: ./wheelhouse/*.whl


Expand All @@ -67,6 +69,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist-source
path: ./dist/*

pypi_publish:
Expand All @@ -79,7 +82,8 @@ jobs:
- name: Stage wheels
uses: actions/download-artifact@v4
with:
name: artifact
pattern: dist-*
merge-multiple: true
path: dist

- name: Publish package
Expand Down

0 comments on commit 3a18e61

Please sign in to comment.