From 9025e97f491414bbbb2c3461a344a827e93265c0 Mon Sep 17 00:00:00 2001 From: WindowsSov8forUs Date: Thu, 16 May 2024 16:47:51 +0800 Subject: [PATCH] fix: workflow --- .github/workflows/release.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fce5d97..b9d0891 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,5 @@ jobs: - name: Publish Package run: | - pdm publish - gh release upload --clobber ${{ steps.version.outputs.TAG_NAME }} dist/*.tar.gz dist/*.whl - env: - PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + pdm publish --username __token__ --password ${{ secrets.PYPI_TOKEN }} + gh release upload --clobber ${{ steps.version.outputs.TAG_NAME }} dist/*.tar.gz dist/*.whl \ No newline at end of file