From 5710a2e853afa4fdc70c4d19db241b5e1c6b4f7a Mon Sep 17 00:00:00 2001 From: Tyler Krehbiel Date: Wed, 30 Apr 2025 12:13:23 -0500 Subject: [PATCH] Updated build-and-publish job to use released gh-action-pypi-publish --- .github/workflows/publish-to-pypi.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 3d364d1..89ae286 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -30,16 +30,14 @@ jobs: run: python3 setup.py bdist_wheel - name: Publish distribution to Test PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: - user: __token__ password: ${{ secrets.test_pypi_password }} - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ continue-on-error: true - name: Publish distribution to PyPI if: github.event.action == 'published' - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: - user: __token__ password: ${{ secrets.pypi_password }} \ No newline at end of file