Skip to content

Commit

Permalink
ci: build new action to build on pypi (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajite authored Oct 5, 2023
1 parent f25cf8e commit 7a5593d
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,19 @@ jobs:
with:
fetch-depth: 0
- name: Python Semantic Release
uses: browniebroke/python-semantic-release@fix/version-parsing-commit
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_TOKEN }}
pypi:
needs: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 7a5593d

Please sign in to comment.