diff options
author | Dominik Holland <dominik.holland@qt.io> | 2021-07-05 11:55:40 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@googlemail.com> | 2021-07-05 16:14:13 +0200 |
commit | 1149f74c4e6848140b714a8d8047c5bb4d1b50bf (patch) | |
tree | fb550024ebf328cc82da431da0558665c5ee0c59 | |
parent | c27fa2a4fee7c94a7b862516c5cb290faf9ff55b (diff) | |
download | qtivi-qface-1149f74c4e6848140b714a8d8047c5bb4d1b50bf.tar.gz |
CI: Only upload to TestPyPI when new changes are pushed to the develop branch
When verifying a pull-request we don't want to upload a new build to
TestPyPI. Instead this should happen when the pull-request is merged
and the change finally landed in the branch.
-rw-r--r-- | .github/workflows/python-package.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 105e66c..fe74806 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -46,6 +46,7 @@ jobs: upload: needs: [ build ] + if: ${{ github.event_name == 'push' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 |