Skip to content

Commit

Permalink
Update submit-sbom.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kruplm authored Dec 11, 2024
1 parent 94f6e58 commit 1a58502
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/submit-sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: SBOM upload

on:
workflow_dispatch:
push:
branches: ["main"]
#push:
# branches: ["main"]

jobs:
SBOM-upload:
Expand All @@ -19,7 +19,7 @@ jobs:
# generation command documentation: https://github.com/microsoft/sbom-tool#sbom-generation
run: |
Invoke-WebRequest -Uri "https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-win-x64.exe" -OutFile "sbom-tool.exe"
$RUNNER_TEMP/sbom-tool generate -b . -bc . -pn $ -pv 1.0.0 -ps OwnerName -nsb https://sbom.test.com -V Verbose
sbom-tool.exe generate -b . -bc . -pn $ -pv 1.0.0 -ps OwnerName -nsb https://sbom.test.com -V Verbose
- uses: actions/upload-artifact@v4
with:
name: sbom
Expand Down

0 comments on commit 1a58502

Please sign in to comment.