Skip to content

Commit

Permalink
Merge 8343995 into f01a5d3
Browse files Browse the repository at this point in the history
  • Loading branch information
sethaxen committed Jan 10, 2021
2 parents f01a5d3 + 8343995 commit 01a7ec0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish package to PyPI

on:
release:
types:
- published

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3
- name: Install dependencies
run: |
pip install --upgrade pip
pip install setuptools wheel
- name: Build package
run: |
python setup.py build_ext -i
python setup.py sdist bdist_wheel
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 01a7ec0

Please sign in to comment.