diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 5d0b7de6..6f035024 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -3,7 +3,7 @@ name: Publish 📦 to PyPI on: push: tags: - - 'v*' + - "v*" jobs: build-n-publish: @@ -24,11 +24,11 @@ jobs: - name: Build a binary wheel and a source tarball run: >- python -m build . -# - name: Publish 📦 to Test PyPI -# uses: pypa/gh-action-pypi-publish@master -# with: -# password: ${{ secrets.PYPI_TEST_TOKEN }} -# repository_url: https://test.pypi.org/legacy/ + # - name: Publish 📦 to Test PyPI + # uses: pypa/gh-action-pypi-publish@master + # with: + # password: ${{ secrets.PYPI_TEST_TOKEN }} + # repository-url: https://test.pypi.org/legacy/ - name: Publish 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 2d1cdd02..1f9be7fe 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -5,7 +5,6 @@ on: branches: - development - jobs: build-n-publish: name: Build and publish 📦 to TestPyPI @@ -30,4 +29,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_TEST_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/