Skip to content

Commit c4a1feb

Browse files
committed
Add compressed SBOMs to the release
1 parent 2f551aa commit c4a1feb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,15 @@ jobs:
9595
merge-multiple: true
9696
path: /tmp/sboms
9797

98+
- name: Compress SBOMs
99+
id: compress-sbom
100+
shell: bash
101+
run: |
102+
cd ${{ steps.download-sbom.outputs.download-path }}
103+
for f in *.spdx.json; do
104+
gzip -9 "$f"
105+
done
106+
98107
- name: Prepare Release
99108
id: prepare-release
100109
shell: bash
@@ -136,4 +145,4 @@ jobs:
136145
tag_name: ${{ needs.build-test-promote.outputs.version }}
137146
body_path: ./changelog.md
138147
make_latest: true
139-
files: "${{ steps.download-sbom.outputs.download-path }}/*.spdx.json"
148+
files: "${{ steps.download-sbom.outputs.download-path }}/*.spdx.json.gz"

0 commit comments

Comments
 (0)