Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
chore: uploads sbom as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Ross committed Nov 13, 2024
1 parent 73a0cd4 commit 704b23f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: sbom

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build SBOM (Software Bill of Materials)

- name: Install cargo-sbom
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-sbom
version: '0.9.1'

- name: Generate SBOM
run: cargo sbom > c2patool-sbom.json

- name: Upload SBOM
uses: actions/[email protected]
with:
path: c2patool-sbom.json
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
.es509

.vscode

c2patool-sbom.json

0 comments on commit 704b23f

Please sign in to comment.