Skip to content

Commit

Permalink
workflows/release: OIDC publishing
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed Mar 16, 2023
1 parent db0038f commit cf979bb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# Used to authenticate to PyPI via OIDC.
# Used to sign the release's artifacts with sigstore-python.
id-token: write

Expand All @@ -29,10 +30,7 @@ jobs:
run: python -m build

- name: publish
uses: pypa/gh-action-pypi-publish@v1.7.1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1

- name: sign
uses: sigstore/gh-action-sigstore-python@v1.2.1
Expand Down

0 comments on commit cf979bb

Please sign in to comment.