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 3e5d756 commit b541f66
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,23 @@ jobs:
run: python -m build
- uses: actions/upload-artifact@v4
with:
name: artifact
name: artifact_${{ matrix.python-version }}
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
name: artifact_${{ matrix.python-version }}
path: dist

- name: Publish a Python distribution to PyPI
Expand Down

0 comments on commit b541f66

Please sign in to comment.