We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0c0ec9 commit 5cfcaf8Copy full SHA for 5cfcaf8
.github/workflows/python-publish.yml
@@ -8,10 +8,9 @@ on:
8
types: [created]
9
10
jobs:
11
- pypi-publish:
+ deploy:
12
+ name: upload release to PyPI
13
runs-on: ubuntu-latest
- name: release to PyPI
14
- environment: release
15
permissions:
16
id-token: write
17
steps:
@@ -27,4 +26,5 @@ jobs:
27
26
- name: Build and publish
28
run: |
29
python setup.py sdist bdist_wheel
30
- twine upload dist/*
+ - name: Publish package distributions to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments