Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/sbom-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,20 +105,13 @@ jobs:
path: sbom.json

- name: Upload lockfile artifact
if: always() && steps.config.outputs.source_type == 'lockfile' && steps.config.outputs.clone != 'true'
if: always() && steps.config.outputs.source_type == 'lockfile'
uses: actions/upload-artifact@v4
with:
name: lockfile-${{ inputs.app }}-${{ steps.config.outputs.version }}
path: ${{ steps.config.outputs.lockfile }}
path: ${{ steps.config.outputs.lockfile_path }}

- name: Upload cloned repo artifact
if: always() && steps.config.outputs.source_type == 'lockfile' && steps.config.outputs.clone == 'true'
uses: actions/upload-artifact@v4
with:
name: repo-${{ inputs.app }}-${{ steps.config.outputs.version }}
path: repo/

- name: Upload to sbomify (SBOM)
- name: Build SBOM (from existing SBOM)
if: steps.config.outputs.component_id != '' && steps.config.outputs.source_type != 'lockfile'
uses: sbomify/github-action@master
env:
Expand All @@ -133,7 +126,7 @@ jobs:
UPLOAD: ${{ !inputs.dry_run }}
PRODUCT_RELEASE: ${{ steps.config.outputs.product_release }}

- name: Upload to sbomify (lockfile)
- name: Build SBOM (from lockfile)
if: steps.config.outputs.component_id != '' && steps.config.outputs.source_type == 'lockfile'
uses: sbomify/github-action@master
env:
Expand Down