diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 36c4e2f..0be3166 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -22,6 +22,9 @@ jobs: runs-on: ubuntu-latest + permissions: + id-token: write + steps: - uses: actions/checkout@v3 - name: Set up Python @@ -35,7 +38,4 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + uses: pypa/gh-action-pypi-publish@v1.8.11