Skip to content

Commit

Permalink
Fixes for release action (#80)
Browse files Browse the repository at this point in the history
* Try to fix release action for next time

* Forgot to build
  • Loading branch information
mmuckley committed Nov 23, 2022
1 parent 606212b commit 76a17da
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ name: Upload Python Package

on:
release:
types: [created]
types: [published]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
Expand All @@ -22,8 +21,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: |
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 76a17da

Please sign in to comment.