From 720bd78b987018fb6f80096f7369e03270b7b1ea Mon Sep 17 00:00:00 2001 From: kindxiaoming Date: Mon, 29 Apr 2024 02:37:52 -0400 Subject: [PATCH] update --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4804fc0d..36de075e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,7 @@ name: Upload Python Package to PyPI when a Release is Created -with: - oidc: false - password: ${{ secrets.PYPI_API_TOKEN }} # gets ignored if oidc is true +uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} on: release: