Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tronikos committed Dec 15, 2023
1 parent 492cfbc commit 458036e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# https://github.com/actions/starter-workflows/blob/main/ci/python-publish.yml
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
Expand All @@ -21,6 +22,9 @@ jobs:

runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -34,7 +38,4 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@v1.8.11

0 comments on commit 458036e

Please sign in to comment.