mirror of https://github.com/tqdm/tqdm.git
use PyPI trusted publishing
This commit is contained in:
parent
7323d5bcc9
commit
e9f0c05097
|
@ -111,6 +111,8 @@ jobs:
|
|||
deploy:
|
||||
needs: [check, test]
|
||||
runs-on: ubuntu-latest
|
||||
environment: pypi
|
||||
permissions: {contents: write, id-token: write, packages: write}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -127,7 +129,6 @@ jobs:
|
|||
- id: dist
|
||||
uses: casperdcl/deploy-pypi@v2
|
||||
with:
|
||||
password: ${{ secrets.PYPI_TOKEN }}
|
||||
gpg_key: ${{ secrets.GPG_KEY }}
|
||||
upload: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
|
||||
- id: collect_assets
|
||||
|
|
Loading…
Reference in New Issue