diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3832c73..47f6655 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,8 @@ jobs: publish-python-package: name: "Publish python package to pypi" runs-on: ubuntu-latest - + permissions: + id-token: write steps: - uses: actions/checkout@v3 - name: Get version @@ -71,9 +72,6 @@ jobs: - name: Build package run: | poetry build - - name: Setup Pypi - run: | - poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} - name: Publish to Pypi run: | poetry publish