Skip to content

Commit

Permalink
Try endswith instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam-Deacon committed Sep 22, 2019
1 parent 16c1bfb commit e868d78
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 @@ -42,4 +42,4 @@ jobs:
pip install twine
# Needs TWINE_USERNAME and TWINE_PASSWORD set as github secrets:
twine upload dist/*.whl || echo 'Unable to upload to PyPI [code=$?]'
if: github.ref == 'refs/head/master'
if: endsWith(github.ref, 'master')

0 comments on commit e868d78

Please sign in to comment.