Use trusted publishing token

This commit is contained in:
Jesse Hills 2024-04-16 00:17:26 +00:00
parent 725e501815
commit cdc66d5398
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 4 additions and 4 deletions

View File

@ -58,11 +58,11 @@ jobs:
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: artifact
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.14