Skip to content

Commit 9d68325

Browse files
authored
Update publish-release.yml
1 parent d57eafe commit 9d68325

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Publish a new release
66
on:
77
release:
88
types:
9-
- created
9+
- published
1010

1111
jobs:
1212
build:
@@ -32,7 +32,6 @@ jobs:
3232
--outdir dist/
3333
.
3434
- name: Publish distribution to PyPI
35-
if: startsWith(github.ref, 'refs/tags')
36-
uses: pypa/gh-action-pypi-publish@master
35+
uses: pypa/gh-action-pypi-publish@main
3736
with:
3837
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)