diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 33db72f..dbfd955 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,8 @@ jobs: strategy: matrix: python-version: [3.8] + permissions: + id-token: write steps: - name: Checkout code uses: actions/checkout@v4 @@ -31,6 +33,3 @@ jobs: - name: Upload package uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }}