File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -126,12 +126,19 @@ jobs:
126126 --scope "all-layers" \
127127 --output "cyclonedx-json=${{ steps.derive-artifact-name.outputs.SBOM_DIR }}/${{ steps.derive-artifact-name.outputs.SBOM_ARTIFACT_NAME }}"
128128
129- - name : Upload SBOM
129+ - name : Upload SBOM artifact
130130 uses : actions/upload-artifact@v4
131131 with :
132132 name : ${{ steps.derive-artifact-name.outputs.SBOM_ARTIFACT_NAME }}
133133 path : ${{ steps.derive-artifact-name.outputs.SBOM_DIR }}
134134
135+ - name : Upload SBOM asset
136+ uses : actions/upload-release-asset@v1
137+ with :
138+ upload_url : ${{ steps.get_release.outputs.upload_url }}
139+ asset_path : ${{ steps.derive-artifact-name.outputs.SBOM_DIR }}/${{ steps.derive-artifact-name.outputs.SBOM_ARTIFACT_NAME }}
140+ asset_name : ${{ steps.derive-artifact-name.outputs.SBOM_ARTIFACT_NAME }}
141+
135142 - name : Generate artifact attestation
136143 uses : actions/attest-build-provenance@v1
137144 if : (steps.tag-action.outputs.tag != '')
You can’t perform that action at this time.
0 commit comments