try publish to pypi from CI
This commit is contained in:
@@ -126,14 +126,11 @@ jobs:
|
|||||||
id-token: write
|
id-token: write
|
||||||
# Used to upload release artifacts
|
# Used to upload release artifacts
|
||||||
contents: write
|
contents: write
|
||||||
# Used to generate artifact attestation
|
|
||||||
attestations: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
- name: Publish to PyPI
|
|
||||||
uses: PyO3/maturin-action@v1
|
|
||||||
env:
|
|
||||||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
command: upload
|
path: dist/
|
||||||
args: --non-interactive --skip-existing wheels-*/*
|
- name: Publish to PyPI
|
||||||
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
with:
|
||||||
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user