Skip to content

Commit

Permalink
fix: proper release naming for GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
dtpryce committed May 28, 2024
1 parent 0ceba3e commit fb2fed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
# Specifying a GitHub environment is optional, but strongly encouraged
if: ${{ github.ref != 'refs/heads/main' }}
uses: pypa/gh-action-pypi-publish@release/v1.8.11
uses: pypa/gh-action-pypi-publish@v1.8.11
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: ${{ github.ref == 'refs/heads/main' }}
uses: pypa/gh-action-pypi-publish@release/v1.8.11
uses: pypa/gh-action-pypi-publish@v1.8.11
- name: Add, commit and push version update
if: ${{ github.ref == 'refs/heads/main' }}
run: |
Expand Down

0 comments on commit fb2fed0

Please sign in to comment.