From 6a64a521e43b8be8b43711a84c19c221adf8f5e7 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Sat, 18 Apr 2026 16:00:11 +0200 Subject: [PATCH] try publish to pypi from CI --- .github/workflows/CI.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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 }}