diff --git a/.github/workflows/test_pypi_publish.yml b/.github/workflows/python-publish-test.yml similarity index 96% rename from .github/workflows/test_pypi_publish.yml rename to .github/workflows/python-publish-test.yml index b7d37ef1..37efb6a3 100644 --- a/.github/workflows/test_pypi_publish.yml +++ b/.github/workflows/python-publish-test.yml @@ -5,10 +5,11 @@ name: Deploy to Test PyPI on: push: - tags: ["*"] + tags: + - 'v*' jobs: - release-pypi: + release-test-pypi: # Upload to Test PyPI on every pushed tag. environment: release-pypi if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index cd987e7b..e051cc0b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -8,7 +8,7 @@ on: types: [published] jobs: - release-test-pypi: + release-pypi: environment: release-pypi # Upload to PyPI on every published release if: github.event.action == 'published'