From e6e52c9c8d6604b6ff215b90380d753028657573 Mon Sep 17 00:00:00 2001 From: Jussi-Pekka Erkkila Date: Mon, 21 Oct 2024 01:03:42 +0300 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index b7a704b..a48a58a 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -17,9 +17,10 @@ permissions: jobs: deploy: - + name: upload release to PyPI runs-on: ubuntu-latest - + permissions: + id-token: write steps: - uses: actions/checkout@v4 - name: Set up Python @@ -34,6 +35,7 @@ jobs: run: python -m build - name: Publish package uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + + + +