diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5037c663..f95cac26 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,6 +11,8 @@ jobs: release: name: Build and publish package runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: Checkout @@ -51,6 +53,4 @@ jobs: - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} packages-dir: ${{ env.DIST_DIR }}