Skip to content

Commit

Permalink
Upload to PyPI on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
phausamann committed Jun 18, 2021
1 parent 7fa7fd1 commit 2029c33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -54,6 +54,12 @@ jobs:
run: python setup.py install
- name: Test with pytest
run: pytest
- name: Publish package
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

conda-build:
runs-on: ubuntu-18.04
Expand Down

0 comments on commit 2029c33

Please sign in to comment.