Skip to content

Commit a7f6dfc

Browse files
authored
Update python-package.yml
1 parent 11c3461 commit a7f6dfc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ jobs:
4747
deploy:
4848
runs-on: ubuntu-latest
4949
needs: build
50-
steps:
51-
- name: Publish package
52-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
53-
uses: actions/checkout@v2
50+
steps:
51+
- uses: actions/checkout@v2
5452
- name: Set up Python
5553
uses: actions/setup-python@v2
5654
with:
@@ -64,5 +62,6 @@ jobs:
6462
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
6563
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
6664
run: |
65+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
6766
python setup.py sdist bdist_wheel
6867
twine upload dist/*

0 commit comments

Comments
 (0)