diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5dedb77..9b5529a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -126,14 +126,11 @@ jobs: id-token: write # Used to upload release artifacts contents: write - # Used to generate artifact attestation - attestations: write steps: - uses: actions/download-artifact@v3 - - name: Publish to PyPI - uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: - command: upload - args: --non-interactive --skip-existing wheels-*/* + path: dist/ + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }}