File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : temp
2+
3+ on :
4+ workflow_dispatch :
5+ branches :
6+ - develop
7+
8+ jobs :
9+ github-release :
10+ runs-on : ubuntu-latest
11+
12+ permissions :
13+ contents : write # IMPORTANT: mandatory for making GitHub Releases
14+ id-token : write # IMPORTANT: mandatory for sigstore
15+
16+ steps :
17+ - name : Download distribution
18+ uses : actions/download-artifact@v7
19+ with :
20+ pattern : python-*-package-for-*
21+ path : dist/
22+ merge-multiple : true
23+
24+ - name : Sign distribution with Sigstore
25+ 26+ with :
27+ inputs : ./dist/*.whl
28+
29+ - name : Upload artifact signatures to GitHub Release
30+ env :
31+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ # Upload to GitHub Release using the `gh` CLI.
33+ # `dist/` contains the built packages, and the
34+ # sigstore-produced signatures and certificates.
35+ run : |
36+ gh release upload '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}' --clobber
You can’t perform that action at this time.
0 commit comments