File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1818 uses : actions/checkout@v4
1919 - name : " Install dependencies"
2020 run : npm install
21+ - uses : anchore/sbom-action@v0
22+ with :
23+ format : ' spdx-json'
24+ 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'
2129 - name : " Build site"
2230 run : npm run build
2331 - name : " Package the build"
2634 uses : actions/attest-build-provenance@v1
2735 with :
2836 subject-path : " dist.tar.gz"
37+ - name : " Publish the build"
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : sbom
41+ path : sbom.spdx.json
42+ - name : " Publish the build"
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : dist
46+ path : dist.tar.gz
47+
2948
3049 # Deploy job
3150 # deploy:
You can’t perform that action at this time.
0 commit comments