Skip to content

Commit

Permalink
FUSETOOLS2-2272 - Generate SBom and store it as GitHub Workflow artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Jan 19, 2024
1 parent b72d441 commit 8a5aab7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ jobs:
with:
name: 'vscode-kaoto-vsix'
path: '*.vsix'
- name: Generate SBOM
if: matrix.os == 'ubuntu-latest'
run: |
npm install --global @cyclonedx/cyclonedx-npm
cyclonedx-npm --omit dev --output-file manifest.json
- name: Store SBOM
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest'
with:
name: sbom
path: manifest.json
- name: Store VS Code logs
uses: actions/upload-artifact@v4
if: always()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main-kaoto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
with:
name: vsix-from-main-branch-of-kaoto
path: 'vscode-kaoto/*.vsix'

- name: Store VS Code logs
uses: actions/upload-artifact@v4
if: always()
Expand Down

0 comments on commit 8a5aab7

Please sign in to comment.