From bc930005c208cb7f55f3ac78bd37eafe814580f1 Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Sat, 20 May 2023 14:34:11 -0400 Subject: [PATCH] test fixed pypi action --- .github/workflows/publish-on-pypi-test.yml | 2 +- .github/workflows/publish-on-pypi.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-on-pypi-test.yml b/.github/workflows/publish-on-pypi-test.yml index c3e8400..764c906 100644 --- a/.github/workflows/publish-on-pypi-test.yml +++ b/.github/workflows/publish-on-pypi-test.yml @@ -30,7 +30,7 @@ jobs: --outdir dist/ . - name: Publish to Test PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: skip_existing: true password: ${{ secrets.TESTPYPI_API_TOKEN }} diff --git a/.github/workflows/publish-on-pypi.yml b/.github/workflows/publish-on-pypi.yml index 42b0176..8599abb 100644 --- a/.github/workflows/publish-on-pypi.yml +++ b/.github/workflows/publish-on-pypi.yml @@ -30,13 +30,13 @@ jobs: --outdir dist/ . - name: Publish to Test PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: skip_existing: true password: ${{ secrets.TESTPYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - name: Publish to PyPI - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master +# if: startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }}