diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3872bdf..fe3f746 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ jobs: name: release runs-on: ubuntu-latest permissions: + id-token: write contents: write steps: - uses: actions/checkout@v4 @@ -16,11 +17,7 @@ jobs: with: python-version: "3.10" - name: Publish package distributions to PyPI - env: - PYPI_API_TOKEN: "${{ secrets.PYPI_API_TOKEN }}" - run: >- - pdm publish --repository pypi --username __token__ --password - $PYPI_API_TOKEN + run: pdm publish - name: Install dependencies run: | pdm sync -G docs