Skip to content

Commit 76a17da

Browse files
authored
Fixes for release action (#80)
* Try to fix release action for next time * Forgot to build
1 parent 606212b commit 76a17da

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/python-publish.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ name: Upload Python Package
55

66
on:
77
release:
8-
types: [created]
8+
types: [published]
99

1010
jobs:
1111
deploy:
12-
1312
runs-on: ubuntu-latest
1413

1514
steps:
@@ -22,8 +21,10 @@ jobs:
2221
run: |
2322
python -m pip install --upgrade pip
2423
pip install build
24+
- name: Build package
25+
run: |
26+
python -m build
2527
- name: Publish package
26-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
28+
uses: pypa/gh-action-pypi-publish@release/v1
2729
with:
28-
user: __token__
2930
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)