Skip to content

Commit

Permalink
chore: use trusted publishing for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Aug 30, 2024
1 parent 669ab96 commit bc1dd67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Release to PyPI

permissions:
contents: write
id-token: write

on:
push:
Expand Down Expand Up @@ -53,6 +54,3 @@ jobs:

- name: Push build artifacts to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit bc1dd67

Please sign in to comment.