forked from GitHub/gf-core
Only upload to PyPI on pushes to master.
This commit is contained in:
1
.github/workflows/build-python-package.yml
vendored
1
.github/workflows/build-python-package.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user