Skip to content

Commit

Permalink
πŸ“¦πŸ” Sign dists via Sigstore upon release
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jul 7, 2023
1 parent 7f80f2b commit b04b1af
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
id-token: write # IMPORTANT: mandatory for trusted publishing & sigstore

environment:
name: pypi
Expand Down Expand Up @@ -135,3 +135,10 @@ jobs:
- name: >-
Publish πŸπŸ“¦ to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl

0 comments on commit b04b1af

Please sign in to comment.