Skip to content

Commit

Permalink
ci: fix artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrocas committed Dec 19, 2024
1 parent b541f66 commit 987ba40
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,20 @@ jobs:
path: |
dist/numbat*.whl
dist/*.tar.gz
upload_pypi:
needs: build_wheel_and_sdist
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
steps:
- uses: actions/download-artifact@v4
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact_${{ matrix.python-version }}
merge-multiple: true
path: dist

upload_pypi:
needs: build_wheel_and_sdist
runs-on: ubuntu-latest
steps:
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.2
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_DEPLOY_TOKEN }}

Expand Down

0 comments on commit 987ba40

Please sign in to comment.