Skip to content

Commit

Permalink
fix(build): update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-cedar committed Nov 17, 2023
1 parent 1a99f1f commit 37be1f3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ jobs:
token: ${{ secrets.GH_TOKEN }}

- name: Python Semantic Release
id: semantic_release
uses: cedar-team/python-semantic-release@master
with:
github_token: ${{ secrets.GH_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
- name: Deps
run: python -m pip install -U build
- name: Build
run: python -m build
- name: Publish to PyPi
uses: cedar-team/gh-action-pypi-publish@release/v1
if: steps.semantic_release.outputs.released == 'true'

0 comments on commit 37be1f3

Please sign in to comment.