Skip to content

Commit

Permalink
Upload wheels and cli-wheels separately
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Jun 29, 2024
1 parent 8ff4a70 commit cdeadc7
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,20 +390,37 @@ jobs:
name: ${{ github.job }}-${{ matrix.target }}
path: dist

release-wheels:
release-cli-wheels:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs:
- cli-wheels-linux
- cli-wheels-macos
steps:
- uses: actions/download-artifact@v4
with:
pattern: "cli-wheels-*"
merge-multiple: true
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN_CLI }}
with:
command: upload
args: --skip-existing *

release-wheels:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs:
- wheels-linux
- wheels-macos
- wheels-sdist
- wheels-windows
steps:
- uses: actions/download-artifact@v4
with:
pattern: "*wheels-*"
pattern: "wheels-*"
merge-multiple: true
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
Expand Down

0 comments on commit cdeadc7

Please sign in to comment.