Skip to content

Commit

Permalink
Merge pull request #78 from dkolmakov/publish-package-to-pypi
Browse files Browse the repository at this point in the history
Publish to PyPI with github action
  • Loading branch information
dkolmakov committed Sep 2, 2022
2 parents 0fed57f + fe25d78 commit edff80b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish to PyPI
on:
release:
types: [published]
jobs:
pypi:
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:
user: dkolmakov
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit edff80b

Please sign in to comment.