From 27391a7f47f3d6ab8deaf9b3107cd4765ba06a72 Mon Sep 17 00:00:00 2001 From: hrzlgnm Date: Fri, 27 Sep 2024 21:59:38 +0200 Subject: [PATCH] feat: add creation of sbom --- .github/workflows/tauri-pr-build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tauri-pr-build.yml b/.github/workflows/tauri-pr-build.yml index 75576110..f34e45e8 100644 --- a/.github/workflows/tauri-pr-build.yml +++ b/.github/workflows/tauri-pr-build.yml @@ -91,6 +91,15 @@ jobs: - name: Build using tauri action uses: tauri-apps/tauri-action@v0.5.14 + - name: cached install cargo-sbom + uses: taiki-e/cache-cargo-install-action@v2.0.1 + with: + tool: cargo-sbom + + - name: Generate SBOM + run: cargo sbom + + - uses: tauri-apps/tauri-action@v0.5.14 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}