Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Jan 10, 2022
1 parent 5c39a09 commit 9b0e3c3
Show file tree
Hide file tree
Showing 2 changed files with 30 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 @@
on:
release:
types: [published]
workflow_dispatch:

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '3.9'

- run: |
python -m pip install --upgrade pip wheel
pip install -e .[test]
- run: python -m pytest

- run: python setup.py sdist bdist_wheel

- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{secrets.PYPI_TOKEN}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
*.so
MANIFEST
*.py[cod]
Expand Down

0 comments on commit 9b0e3c3

Please sign in to comment.