We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2be52b commit 36bfd77Copy full SHA for 36bfd77
.github/workflows/publish.yml
@@ -2,7 +2,6 @@ name: Publish to PyPI
2
on:
3
release:
4
types: [published]
5
-
6
jobs:
7
deploy:
8
runs-on: ubuntu-latest
@@ -17,14 +16,13 @@ jobs:
17
16
- name: Install dependencies
18
run: |
19
python -m pip install --upgrade pip
20
- pip install build twine
+ pip install build
21
22
- name: Build package
23
run: python -m build
24
25
- name: Publish to PyPI
26
- run: |
27
- python -m twine upload dist/*
28
- env:
29
- TWINE_USERNAME: __token__
30
- TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ password: ${{ secrets.PYPI_API_TOKEN }}
+ # Remove attestations line if it exists
0 commit comments