try publish to pypi from CI
CI / wheels (push) Successful in 3m56s
CI / Release (push) Failing after 8s

This commit is contained in:
Wim Pomp
2026-04-18 16:00:11 +02:00
parent b6676f7fce
commit 6a64a521e4
+5 -8
View File
@@ -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 }}