From dc59a8dcfc8f9aaa94eb7e099a34fee11ad0a52b Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 29 Sep 2023 12:16:12 -0700 Subject: [PATCH] fix upload to test-pypi --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4809951..4196566 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,19 +52,19 @@ jobs: - name: twine Check run: twine check dist/* - - name: twine Upload (pipy) + - name: twine Upload (pypi) if: github.event_name == 'release' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.pypi_token }} run: twine upload dist/* - - name: twine Upload (test-pipy) + - name: twine Upload (test-pypi) if: github.event_name == 'push' && github.ref == 'refs/heads/master' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }} - run: twine upload dist/* + run: twine upload --repository testpypi dist/* Build: