From f56fe206f76ae0236e0699b247662e98b41fadac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E7=AB=8B=E4=B8=9A=EF=BC=88Chris=20Fu=EF=BC=89?= <17433201@qq.com> Date: Sat, 11 May 2024 16:12:15 +0800 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e02d362..f50941d 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -14,6 +14,7 @@ on: permissions: contents: read + id-token: write jobs: deploy: @@ -34,6 +35,3 @@ jobs: run: python -m build - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }}