File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 3030 with:
3131 args: spdx -o zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
3232
33+ - uses : anchore/sbom-action@v0
34+ with :
35+ artifact-name : zephyr-sbom-${{ steps.get_version.outputs.VERSION }}.spdx
36+
3337 - name: upload-results
3438 uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3539 continue-on-error: true
5357 draft: true
5458 prerelease: true
5559
56- - name : Upload Release Assets
60+ - name: Upload Release Assets (SPDX)
5761 id: upload-release-asset
5862 uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
5963 env:
6367 asset_path: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
6468 asset_name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
6569 asset_content_type: text/plain
70+
71+ - name: Upload Release Assets (SBOM)
72+ id: upload-release-asset
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