Skip to content

Commit cdccbd4

Browse files
authored
Upload sbom
1 parent 2e7c96d commit cdccbd4

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,12 @@ jobs:
226226
name: fluent-theme-esm
227227
path: ./fluent-theme/static/
228228

229+
- name: Upload artifact (sbom)
230+
uses: actions/upload-artifact@v7
231+
with:
232+
name: sbom
233+
path: ./_manifest/spdx_2.2/manifest.spdx.json
234+
229235
upload-changelog:
230236
name: Upload changelog
231237
needs: build
@@ -286,11 +292,11 @@ jobs:
286292
name: changelog
287293
path: ./
288294

289-
# - name: Download artifact (sbom)
290-
# uses: actions/download-artifact@v8
291-
# with:
292-
# name: sbom
293-
# path: ./asset
295+
- name: Download artifact (sbom)
296+
uses: actions/download-artifact@v8
297+
with:
298+
name: sbom
299+
path: ./asset
294300

295301
- id: compute-hash
296302
name: Compute build metadata
@@ -361,5 +367,5 @@ jobs:
361367
gh release upload ${{ steps.release.outputs.tag }} \
362368
--repo ${{ github.repository }} \
363369
./asset/*.js \
364-
./asset/*.tgz
365-
# ./aseet/sbom.spdx.json
370+
./asset/*.tgz \
371+
./aseet/manifest.spdx.json

0 commit comments

Comments
 (0)