Skip to content

Commit

Permalink
update pythonpublish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Jan 1, 2024
1 parent dcfc6c1 commit dc5bce5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
types: [published]

permissions:
id-token: write # trusted publishing
contents: read

jobs:
Expand All @@ -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 }}

0 comments on commit dc5bce5

Please sign in to comment.