We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5389e6c commit 6ad6925Copy full SHA for 6ad6925
1 file changed
.github/workflows/release.yml
@@ -111,3 +111,17 @@ jobs:
111
end
112
JQ
113
jq -r -f sbom_to_summary.jq sbom.spdx.json >> "$GITHUB_STEP_SUMMARY"
114
+
115
+ # - name: Upload SBOM to release
116
+ # run: |
117
+ # gh release upload ${{ github.event.release.tag_name }} sbom.spdx.json
118
+ # env:
119
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120
121
+ - name: Upload SBOM to release but better
122
+ if: ${{ github.event.release.tag_name }}
123
+ uses: svenstaro/upload-release-action@v2
124
+ with:
125
+ file: sbom.spdx.json
126
+ asset_name: sbom-${{ github.ref }}
127
+ tag: ${{ github.ref }}
0 commit comments