Skip to content

Commit

Permalink
🚧 Swap Sigstore signing and PyPI steps (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal authored Apr 6, 2024
1 parent b039d68 commit 19864e0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,21 +232,20 @@ jobs:
path: upload/
merge-multiple: true

- name: Sign artifacts with Sigstore
uses: sigstore/gh-action-sigstore-python@61f6a500bbfdd9a2a339cf033e5421951fbc1cd2
with:
inputs: >-
./upload/*.whl
./upload/*.tar.gz
- uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
if: github.event_name == 'release' && github.event.action == 'published'
with:
# Remember to tell (test-)pypi about this repo before publishing
# Comment this line out to publish to PyPI
# repository-url: https://test.pypi.org/legacy/
packages-dir: upload

- name: Sign artifacts with Sigstore
uses: sigstore/gh-action-sigstore-python@61f6a500bbfdd9a2a339cf033e5421951fbc1cd2 # v2.1.1
with:
inputs: >-
./upload/*.whl
./upload/*.tar.gz
- name: Publish to GitHub Releases
uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2.0.4
if: github.event_name == 'release' && github.event.action == 'published'
Expand Down

0 comments on commit 19864e0

Please sign in to comment.