Skip to content

Commit

Permalink
Update publish_pypi.yml
Browse files Browse the repository at this point in the history
Fixed the action to use trusted publishers pipeline.
  • Loading branch information
ubi15 authored Nov 30, 2023
1 parent c362c21 commit 4a5415e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
deploy:

runs-on: ubuntu-latest
permissions:
id-token: write

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

0 comments on commit 4a5415e

Please sign in to comment.