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

chore: uploads sbom as artifact #3

chore: uploads sbom as artifact

chore: uploads sbom as artifact #3

Workflow file for this run

name: sbom
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
- labeled
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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