update pythonpublish.yml

This commit is contained in:
sigma67 2024-01-01 19:45:37 +01:00
commit dc5bce5ff9
No known key found for this signature in database
GPG key ID: 1C314227DF0103D0

View file

@ -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 }}