Skip to content

Commit 205fc11

Browse files
authored
Merge pull request #11 from kozistr/feature/workflow
[Feature] Setup workflow
2 parents 3f4ff29 + 20e9de2 commit 205fc11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
deploy:
3232
name: Deploy
3333
needs: test
34-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
34+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Setup Python 3.8
3838
uses: actions/setup-python@v2
3939
with:
4040
python-version: 3.8
41-
- name: Upload PyPI
41+
- name: Upload to PyPI
4242
env:
4343
TWINE_USERNAME: __token__
4444
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)