Skip to content

Commit

Permalink
Fixed publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
famura committed Nov 11, 2023
1 parent a37be6e commit 6314301
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
name: pypi
url: https://pypi.org/p/blm
permissions:
contents: read
id-token: write # mandatory for trusted publishing
steps:
- name: Download all distributions
Expand All @@ -46,3 +47,5 @@ jobs:
path: dist/
- name: Publish distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }} # allegedly deprecated

0 comments on commit 6314301

Please sign in to comment.