Skip to content

Commit 5cfcaf8

Browse files
Update python-publish.yml
1 parent f0c0ec9 commit 5cfcaf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ on:
88
types: [created]
99

1010
jobs:
11-
pypi-publish:
11+
deploy:
12+
name: upload release to PyPI
1213
runs-on: ubuntu-latest
13-
name: release to PyPI
14-
environment: release
1514
permissions:
1615
id-token: write
1716
steps:
@@ -27,4 +26,5 @@ jobs:
2726
- name: Build and publish
2827
run: |
2928
python setup.py sdist bdist_wheel
30-
twine upload dist/*
29+
- name: Publish package distributions to PyPI
30+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)