Skip to content

Commit

Permalink
Updated the "publish" action
Browse files Browse the repository at this point in the history
* Allow post-releases
* Updated to supported version of gh-action-pypi-publish
* Removed redundant username parameter
  • Loading branch information
agronholm committed Oct 27, 2022
1 parent cf116e0 commit 470a987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+.post[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+[a-b][0-9]+"
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+"

Expand All @@ -21,7 +22,6 @@ jobs:
- name: Create packages
run: python -m build -s -w .
- name: Upload packages
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}

0 comments on commit 470a987

Please sign in to comment.