Skip to content

Commit

Permalink
fix: broken release action (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
bohan-amplitude committed May 11, 2022
1 parent c71b8e0 commit 8eb6e52
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ jobs:
- name: Publish distribution PyPI
if: ${{ github.event.inputs.dryRun == 'false'}}
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install python-semantic-release
git config user.name amplitude-sdk-bot
git config user.email amplitude-sdk-bot@users.noreply.github.com
semantic-release publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY_USERNAME: __token__
REPOSITORY_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 8eb6e52

Please sign in to comment.