Skip to content

Commit

Permalink
download artifact if push
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Oct 6, 2020
1 parent 40e0011 commit 9b38dde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v1
with:
name: releases
path: dist
- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand Down

0 comments on commit 9b38dde

Please sign in to comment.