Skip to content

Commit

Permalink
[ci/cd] correct filter for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
junjuew committed Apr 20, 2020
1 parent 5c341b4 commit bc3e0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: |
python setup.py sdist bdist_wheel
- name: pypi-publish
if: startsWith(github.event.ref, 'refs/tags')
if: github.event_name == 'create' && github.event.ref_type == 'tag'
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand Down

0 comments on commit bc3e0f2

Please sign in to comment.