Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn authored Jun 3, 2021
1 parent caa31e1 commit 635593b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ jobs:
run: pytest

- name: GitHub Tag
if: github.event_name != 'pull_request'
id: tag_release
uses: mathieudutour/github-tag-action@v5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v2
if: github.event_name != 'pull_request'
with:
ref: ${{ steps.tag_release.outputs.new_tag }}
clean: false
Expand All @@ -58,6 +60,7 @@ jobs:


- name: Create Release
if: github.event_name != 'pull_request'
id: create_release
uses: actions/create-release@v1
env:
Expand All @@ -69,6 +72,7 @@ jobs:
prerelease: false

- name: Upload Release Asset
if: github.event_name != 'pull_request'
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
Expand All @@ -80,6 +84,7 @@ jobs:
asset_content_type: application/zip

- name: Publish a Python distribution to PyPI
if: github.event_name != 'pull_request'
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand Down

0 comments on commit 635593b

Please sign in to comment.