Skip to content

Commit

Permalink
ci: Switch PyPI package to trusted build (#6447)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Nov 11, 2024
1 parent baff3c8 commit 6f43206
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,12 @@ jobs:
runs-on: ubuntu-latest
needs: [pip_build, waiting_room]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: pip
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PPU }}
password: ${{ secrets.PPP }}
repository-url: "https://upload.pypi.org/legacy/"

0 comments on commit 6f43206

Please sign in to comment.