Skip to content

Commit

Permalink
🐛 misc(release): upload and download PyPi wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Feb 5, 2024
1 parent 76b21c4 commit 16b9e47
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ jobs:
args: --release --sdist --out wheels
sccache: "true"
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-${{ join(matrix.targets, '_') }}
path: pypi/wheels

# Build and package all the platform-agnostic(ish) things
build-global-artifacts:
Expand Down Expand Up @@ -277,6 +282,11 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Publish to crates.io
run: cargo publish --allow-dirty --locked --token ${{ secrets.CRATES_IO_API_TOKEN }}
- uses: actions/download-artifact@v4
with:
pattern: wheels-*
merge-multiple: true
path: pypi/wheels
- name: Publish to PyPi
uses: PyO3/maturin-action@v1
env:
Expand Down

0 comments on commit 16b9e47

Please sign in to comment.