Skip to content

Commit

Permalink
Assign unique artifact name to each GitHub Actions job
Browse files Browse the repository at this point in the history
[actions/upload-artifact@v4](https://github.com/actions/upload-artifact)
no longer supports multiple artifacts with the same name.
  • Loading branch information
lpsinger committed Feb 1, 2024
1 parent 1c88af8 commit 75fbf40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

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

wheels:
Expand Down Expand Up @@ -60,6 +61,7 @@ jobs:

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

publish:
Expand All @@ -72,6 +74,6 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
merge-multiple: true
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 75fbf40

Please sign in to comment.