File tree Expand file tree Collapse file tree
source/guides/github-actions-ci-cd-sample Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 contents : write # IMPORTANT: mandatory for making GitHub Releases
6262 id-token : write # IMPORTANT: mandatory for sigstore
6363
64- env :
65- GITHUB_TOKEN : ${{ github.token }}
66-
6764 steps :
6865 - name : Download all the dists
6966 uses : actions/download-artifact@v3
@@ -77,12 +74,16 @@ jobs:
7774 ./dist/*.tar.gz
7875 ./dist/*.whl
7976 - name : Create GitHub Release
77+ env :
78+ GITHUB_TOKEN : ${{ github.token }}
8079 run : >-
8180 gh release create
8281 '${{ github.ref_name }}'
8382 --repo '${{ github.repository }}'
8483 --notes ""
8584 - name : Upload artifact signatures to GitHub Release
85+ env :
86+ GITHUB_TOKEN : ${{ github.token }}
8687 # Upload to GitHub Release using the `gh` CLI.
8788 # `dist/` contains the built packages, and the
8889 # sigstore-produced signatures and certificates.
You can’t perform that action at this time.
0 commit comments