mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-14 20:48:08 +00:00
wheel.yml uses Trusted Publisher pattern
This commit is contained in:
parent
6e9fa67985
commit
2a57e9d342
1 changed files with 3 additions and 3 deletions
6
.github/workflows/wheel.yml
vendored
6
.github/workflows/wheel.yml
vendored
|
|
@ -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
|
||||
|
|
@ -106,6 +109,3 @@ jobs:
|
|||
|
||||
- name: Upload
|
||||
uses: pypa/gh-action-pypi-publish@v1.10.2
|
||||
with:
|
||||
user: ${{ secrets.PYPI_USERNAME }}
|
||||
password: ${{ secrets.PYPI_PASSWORD }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue