Skip to content

Commit

Permalink
Update publish job.
Browse files Browse the repository at this point in the history
  • Loading branch information
paullinnerud committed Mar 28, 2024
1 parent f3119dd commit 7de1329
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: wheels-artifact

- name: Build Source Distribution
run: python setup.py sdist
Expand All @@ -58,6 +59,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
path: ./dist/*.zip
name: source-dist-artifact

upload_pypi:
needs: [build-n-publish]
Expand All @@ -66,7 +68,12 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
name: wheels-artifact
path: dist

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

- uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 7de1329

Please sign in to comment.