Skip to content

Commit

Permalink
Fix download and upload artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhale committed Apr 11, 2024
1 parent 93b5fca commit 01aabab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-wheel-artifact
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -80,6 +81,7 @@ jobs:

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

upload_pypi:
Expand All @@ -89,8 +91,9 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
pattern: *-artifact
path: dist/
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ github.event.inputs.pypi_publish == 'true' }}
Expand Down

0 comments on commit 01aabab

Please sign in to comment.