File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 86
86
87
87
permissions :
88
88
contents : write # IMPORTANT: mandatory for making GitHub Releases
89
- id-token : write # IMPORTANT: mandatory for sigstore
90
89
91
90
steps :
92
- - name : Download all the dists
93
- uses : actions/download-artifact@v4
94
- with :
95
- name : python-package-distributions
96
- path : dist/
97
- - name : Sign the dists with Sigstore
98
- uses : sigstore/gh-action-sigstore-python@main
99
- with :
100
- inputs : |
101
- ./dist/*.tar.gz
102
- ./dist/*.whl
103
91
- name : Draft GitHub Release
104
92
env :
105
93
GITHUB_TOKEN : ${{ github.token }}
@@ -109,17 +97,6 @@ jobs:
109
97
--repo '${{ github.repository }}' \
110
98
--generate-notes \
111
99
--draft
112
- - name : Upload artifact signatures to GitHub Release
113
- env :
114
- GITHUB_TOKEN : ${{ github.token }}
115
- # Upload to GitHub Release using the `gh` CLI.
116
- # `dist/` contains the built packages, and the
117
- # sigstore-produced signatures and certificates.
118
- run : |
119
- gh release upload \
120
- '${{ github.ref_name }}' \
121
- --repo '${{ github.repository }}' \
122
- dist/**
123
100
124
101
# Necessary for getting executable name, since it won't match the git ref
125
102
# if we're releasing a branch build
You can’t perform that action at this time.
0 commit comments