File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
source/guides/github-actions-ci-cd-sample Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 61
61
contents : write # IMPORTANT: mandatory for making GitHub Releases
62
62
id-token : write # IMPORTANT: mandatory for sigstore
63
63
64
- env :
65
- GITHUB_TOKEN : ${{ github.token }}
66
-
67
64
steps :
68
65
- name : Download all the dists
69
66
uses : actions/download-artifact@v3
@@ -77,12 +74,16 @@ jobs:
77
74
./dist/*.tar.gz
78
75
./dist/*.whl
79
76
- name : Create GitHub Release
77
+ env :
78
+ GITHUB_TOKEN : ${{ github.token }}
80
79
run : >-
81
80
gh release create
82
81
'${{ github.ref_name }}'
83
82
--repo '${{ github.repository }}'
84
83
--notes ""
85
84
- name : Upload artifact signatures to GitHub Release
85
+ env :
86
+ GITHUB_TOKEN : ${{ github.token }}
86
87
# Upload to GitHub Release using the `gh` CLI.
87
88
# `dist/` contains the built packages, and the
88
89
# sigstore-produced signatures and certificates.
You can’t perform that action at this time.
0 commit comments