Skip to content

Commit

Permalink
chore: Add PyPI back
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapsssito committed Jul 3, 2024
1 parent d7bc635 commit 096df8c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# # The following line is required to ensure that the package is only published to PyPI when a new version is released.
# # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
# # See https://github.com/actions/runner/issues/1173
# if: steps.release.outputs.released == 'true'
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# The following line is required to ensure that the package is only published to PyPI when a new version is released.
# NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
# See https://github.com/actions/runner/issues/1173
if: steps.release.outputs.released == 'true'

# - name: Publish package distributions to GitHub Releases
# uses: python-semantic-release/[email protected]
# if: steps.release.outputs.released == 'true'
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# tag: ${{ steps.release.outputs.tag }}
- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/[email protected]
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}

- name: Set permissions # Sphinx needs write permissions to perform the checkout
run: |
Expand Down

0 comments on commit 096df8c

Please sign in to comment.