Skip to content

Commit

Permalink
Update sbom.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <5276337+wulfland@users.noreply.github.com>
  • Loading branch information
wulfland authored Oct 17, 2024
1 parent e042070 commit 5d2dad3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest

permissions:
id-token: write
attestations: write

steps:
- name: Checkout Code
Expand All @@ -15,6 +19,12 @@ jobs:
with:
path: ./ch9_release/src/Tailwind.Traders.Web.sln
github-bearer-token: ${{ secrets.GITHUB_TOKEN }}

- name: Attest
uses: actions/attest-sbom@v1
with:
subject-path: './ch9_release/src/'
sbom-path: 'sbom.spdx.json'

- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5d2dad3

Please sign in to comment.