File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-24.04
15
15
permissions :
16
16
contents : write # to create GitHub release entry
17
+ id-token : write
17
18
steps :
18
19
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19
20
with :
57
58
draft : true
58
59
prerelease : true
59
60
61
+
62
+ # This step uses 'gh-action-sigstore-python' to sign the file designated in the inputs field.
63
+ -
uses :
sigstore/[email protected]
64
+ with :
65
+ inputs : zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
66
+
60
67
- name : Upload Release Assets (SPDX)
61
68
id : upload-release-asset
62
69
uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
67
74
asset_path : zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
68
75
asset_name : zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
69
76
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