File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/checkout@v2
1010
11- - if : ${{ github.event_name == 'release' }}
11+ - if : ${{ github.event_name == 'release' && secrets.PYPI_PASSWORD != '' }}
1212 name : Publish Release to PyPi
1313 uses : dciborow/pyaction@0.0.28
1414 with :
1515 pypi_publish : true
1616 pypi_password : ${{ secrets.PYPI_PASSWORD }}
1717
18- - if : ${{ github.event_name == 'push' }}
18+ - if : ${{ github.event_name == 'push' && secrets.PYPI_PASSWORD != '' }}
1919 name : Publish RC to PyPi
2020 uses : dciborow/pyaction@0.0.28
2121 with :
2222 pypi_publish : true
2323 pypi_password : ${{ secrets.PYPI_PASSWORD }}
2424 version_suffix : -rc${{ github.run_number }}-post${{ github.run_attempt }}
2525
26- - if : ${{ github.event_name == 'pull_request' }}
26+ - if : ${{ github.event_name == 'pull_request' && secrets.TEST_PYPI_PASSWORD != '' }}
2727 name : Publish Snapshot to TestPyPi
2828 uses : dciborow/pyaction@0.0.28
2929 with :
You can’t perform that action at this time.
0 commit comments