File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,11 @@ jobs:
1818 uses : actions/checkout@v4
1919 - name : " Install dependencies"
2020 run : npm install
21- - uses : anchore/sbom-action@v0
21+ - name : " Generate SBOM"
22+ uses : anchore/sbom-action@v0
2223 with :
2324 format : ' spdx-json'
2425 output-file : ' sbom.spdx.json'
25- - uses : actions/attest-sbom@v1
26- with :
27- subject-path : ' bin/my-artifact.tar.gz'
28- sbom-path : ' sbom.spdx.json'
2926 - name : " Build site"
3027 run : npm run build
3128 - name : " Package the build"
3431 uses : actions/attest-build-provenance@v1
3532 with :
3633 subject-path : " dist.tar.gz"
37- - name : " Publish the build"
34+ - uses : actions/attest-sbom@v1
35+ with :
36+ subject-path : ' dist.tar.gz'
37+ sbom-path : ' sbom.spdx.json'
38+ - name : " Publish the SBOM"
3839 uses : actions/upload-artifact@v4
3940 with :
4041 name : sbom
You can’t perform that action at this time.
0 commit comments