update pythonpublish.yml
This commit is contained in:
parent
dcfc6c1260
commit
dc5bce5ff9
1 changed files with 1 additions and 2 deletions
3
.github/workflows/pythonpublish.yml
vendored
3
.github/workflows/pythonpublish.yml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
|||
types: [published]
|
||||
|
||||
permissions:
|
||||
id-token: write # trusted publishing
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
|
@ -26,5 +27,3 @@ jobs:
|
|||
run: python -m build
|
||||
- name: Publish a Python distribution to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue