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 8
8
steps :
9
9
- uses : actions/checkout@v2
10
10
11
- - if : ${{ github.event_name == 'release' }}
11
+ - if : ${{ github.event_name == 'release' && secrets.PYPI_PASSWORD != '' }}
12
12
name : Publish Release to PyPi
13
13
uses : dciborow/pyaction@0.0.28
14
14
with :
15
15
pypi_publish : true
16
16
pypi_password : ${{ secrets.PYPI_PASSWORD }}
17
17
18
- - if : ${{ github.event_name == 'push' }}
18
+ - if : ${{ github.event_name == 'push' && secrets.PYPI_PASSWORD != '' }}
19
19
name : Publish RC to PyPi
20
20
uses : dciborow/pyaction@0.0.28
21
21
with :
22
22
pypi_publish : true
23
23
pypi_password : ${{ secrets.PYPI_PASSWORD }}
24
24
version_suffix : -rc${{ github.run_number }}-post${{ github.run_attempt }}
25
25
26
- - if : ${{ github.event_name == 'pull_request' }}
26
+ - if : ${{ github.event_name == 'pull_request' && secrets.TEST_PYPI_PASSWORD != '' }}
27
27
name : Publish Snapshot to TestPyPi
28
28
uses : dciborow/pyaction@0.0.28
29
29
with :
You can’t perform that action at this time.
0 commit comments