From 7b833b857d226b57afbbe489046eb3b7b34e6f86 Mon Sep 17 00:00:00 2001 From: yindaheng98 Date: Tue, 2 Jan 2024 21:12:10 -0800 Subject: [PATCH] use PIP_API_TOKEN --- .github/workflows/pip-publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pip-publish.yml b/.github/workflows/pip-publish.yml index 8c52b4a..f5e2904 100644 --- a/.github/workflows/pip-publish.yml +++ b/.github/workflows/pip-publish.yml @@ -32,7 +32,6 @@ jobs: - name: Upload env: - PIP_USERNAME: ${{ secrets.PIP_USERNAME }} - PIP_PASSWORD: ${{ secrets.PIP_PASSWORD }} + PIP_API_TOKEN: ${{ secrets.PIP_API_TOKEN }} run: | - python -m twine upload dist/* --username ${PIP_USERNAME} --password ${PIP_PASSWORD} --skip-existing + python -m twine upload dist/* --username __token__ --password ${PIP_API_TOKEN} --skip-existing