Skip to content

Commit

Permalink
chore: Publish to Pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Mar 30, 2024
1 parent 8fc3b85 commit 34c98c1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,13 @@ jobs:
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ steps.release.outputs.released }} == 'true'

- name: Publish package to GitHub Release
uses: python-semantic-release/upload-to-gh-release@main
if: ${{ steps.release.outputs.released }} == 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}

0 comments on commit 34c98c1

Please sign in to comment.