File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-24.04
1515 permissions :
1616 contents : write # to create GitHub release entry
17+ # 'id-token' needs write permission to retrieve the OIDC token, which is required for authentication.
18+ id-token : write
1719 steps :
1820 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1921 with :
5759 draft : true
5860 prerelease : true
5961
62+
63+ # This step uses 'gh-action-sigstore-python' to sign the file designated in the inputs field.
64+ -
uses :
sigstore/[email protected] 65+ with :
66+ inputs : zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
67+
6068 - name : Upload Release Assets (SPDX)
6169 id : upload-release-asset
6270 uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
6775 asset_path : zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
6876 asset_name : zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
6977 asset_content_type : text/plain
70-
71- - name : Upload Release Assets (SBOM)
72- id : upload-release-asset-sbom
73- uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
74- env :
75- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
76- with :
77- upload_url : ${{ steps.create_release.outputs.upload_url }}
78- asset_path : zephyr-sbom-${{ steps.get_version.outputs.VERSION }}.spdx
79- asset_name : zephyr-sbom-${{ steps.get_version.outputs.VERSION }}.spdx
80- asset_content_type : text/plain
You can’t perform that action at this time.
0 commit comments