Skip to content

Commit

Permalink
build and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
digitronik committed Nov 23, 2019
1 parent 143956e commit 0ff3b30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ jobs:
if: failure()
run: git diff

- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
- name: build wheel
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
run: |
python -m pip install --upgrade setuptools wheel
python setup.py sdist bdist_wheel
- name: Publish package PyPi
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand Down

0 comments on commit 0ff3b30

Please sign in to comment.