Skip to content

Commit 19864e0

Browse files
🚧 Swap Sigstore signing and PyPI steps (#76)
1 parent b039d68 commit 19864e0

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/cd.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,21 +232,20 @@ jobs:
232232
path: upload/
233233
merge-multiple: true
234234

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

242+
- name: Sign artifacts with Sigstore
243+
uses: sigstore/gh-action-sigstore-python@61f6a500bbfdd9a2a339cf033e5421951fbc1cd2 # v2.1.1
244+
with:
245+
inputs: >-
246+
./upload/*.whl
247+
./upload/*.tar.gz
248+
250249
- name: Publish to GitHub Releases
251250
uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2.0.4
252251
if: github.event_name == 'release' && github.event.action == 'published'

0 commit comments

Comments
 (0)