Skip to content

Commit ccff551

Browse files
committed
Update action names
1 parent d09ccc4 commit ccff551

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
python-version: '3.7'
1818
architecture: 'x64'
1919
- name: Install dependencies
20-
if: success()
20+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
2121
run: |
2222
python -m pip install --upgrade pip
2323
pip install pipenv
2424
pipenv install --dev --pre --system --deploy
2525
- name: Build and publish the pypi package
26-
if: success()
26+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
2727
run: python3 setup.py upload
2828
env:
2929
TWINE_USER: __token__

0 commit comments

Comments
 (0)