Skip to content

Commit

Permalink
Fixup publish workflow for upload-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
josiah-wolf-oberholtzer committed Feb 17, 2024
1 parent 84847cb commit d28f4e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: pypa/cibuildwheel@v2.16.5
- uses: actions/upload-artifact@v4
with:
name: dist
name: dist-${{ matrix.os }}
path: ./wheelhouse/*.whl

build-sdist:
Expand All @@ -71,7 +71,7 @@ jobs:
run: pipx run build --sdist
- uses: actions/upload-artifact@v4
with:
name: dist
name: dist-sdist
path: dist/*.tar.gz

upload-to-pypi:
Expand All @@ -84,8 +84,9 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: dist
merge-multiple: true
path: dist
pattern: dist-*
- uses: pypa/gh-action-pypi-publish@release/v1

update-gh-pages:
Expand Down

0 comments on commit d28f4e4

Please sign in to comment.