Skip to content

Commit

Permalink
Update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anxuae committed May 28, 2020
1 parent 951c9e9 commit 74631be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Upload Python Package

on:
release:
types: [created]
types: [created, edited]

jobs:
deploy:
Expand All @@ -28,4 +28,5 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine check dist/* && twine upload --skip-existing dist/*
twine check dist/*
twine upload --skip-existing dist/*

0 comments on commit 74631be

Please sign in to comment.