Skip to content

Commit

Permalink
chore: fix release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Mar 30, 2024
1 parent 89c503f commit 58cc800
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ jobs:
- name: Build package
run: python -m build
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
uses: python-semantic-release/python-semantic-release@v9.3.1
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'
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'
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}

0 comments on commit 58cc800

Please sign in to comment.