Skip to content

Commit

Permalink
fix(workflow): update semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
CaibinSh committed Aug 14, 2024
1 parent 8a7b448 commit bd64320
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
with:
fetch-depth: 0
- name: Python Semantic Release
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
semantic-release publish \
--github_token $GITHUB_TOKEN \
--pypi_token $PYPI_TOKEN

0 comments on commit bd64320

Please sign in to comment.