Skip to content

Commit 9d5f439

Browse files
Merge pull request #19 from 4ARMED/fix_signing
Fix signing of builds
2 parents 44c20ce + c839bf2 commit 9d5f439

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/pypi.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,24 @@ jobs:
6666

6767
steps:
6868
- name: Download all the dists
69-
uses: actions/download-artifact@v3
69+
uses: actions/download-artifact@v4
7070
with:
7171
name: python-package-distributions
7272
path: dist/
7373
- name: Sign the dists with Sigstore
74-
uses: sigstore/gh-action-sigstore-python@v2.1.0
74+
uses: sigstore/gh-action-sigstore-python@v2.1.1
7575
with:
7676
inputs: >-
7777
./dist/*.tar.gz
7878
./dist/*.whl
79+
- name: Create GitHub Release
80+
env:
81+
GITHUB_TOKEN: ${{ github.token }}
82+
run: >-
83+
gh release create
84+
'${{ github.ref_name }}'
85+
--repo '${{ github.repository }}'
86+
--notes ""
7987
- name: Upload artifact signatures to GitHub Release
8088
env:
8189
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)