Only upload to PyPI on pushes to master.

This commit is contained in:
Michael Elsdörfer
2020-06-15 11:21:35 +01:00
parent b2e6d52509
commit c802ec6022

View File

@@ -67,6 +67,7 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
steps:
- uses: actions/checkout@v2