Skip to content

Commit

Permalink
wheel.yml uses Trusted Publisher pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
tcuongd authored Oct 2, 2024
1 parent 6e9fa67 commit 2a57e9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
needs: [make-wheels, make-sdist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment: release
permissions:
id-token: write
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
Expand All @@ -106,6 +109,3 @@ jobs:
- name: Upload
uses: pypa/[email protected]
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 2a57e9d

Please sign in to comment.