From 8ef72f96ff5cb10f4ade7d9fb544742679fb8e8b Mon Sep 17 00:00:00 2001 From: cxykevin Date: Tue, 16 Apr 2024 22:35:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0build=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 45e5a02..a0d8e81 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -28,7 +28,7 @@ jobs: - name: CheckOut uses: http://hmtsai.cn:3000/actions/checkout@v4 - name: Build - run: python3 setup.py install + run: python3 setup.py sdist bdist_wheel - name: Check run: | echo "pwd:" @@ -39,7 +39,6 @@ jobs: ls dist - name: Publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_PASSWORD: ${{ secrets.PYPI_KEY }} run: | - twine upload dist/* + twine upload dist/* --verbose --disable-progress-bar