Skip to content

Commit 192feed

Browse files
authored
Update Generate-Sbom.yml
1 parent 261e57e commit 192feed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/Generate-Sbom.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: dotnet tool install --global CycloneDX
5151

5252
- name: Generate combined SBOM
53-
run: dotnet CycloneDX ./src/EPPlus/EPPlus.csproj -o ./sbom -F Json -st Library -sv ${{ env.VERSION }} -fn epplus-${{ env.VERSION }}.sbom.json -imp ./src/EPPlus/sbom-metadata-template.xml --spec-version 1.7
53+
run: dotnet CycloneDX ./src/EPPlus/EPPlus.csproj -o ./sbom -F Json -st Library -sv ${{ env.VERSION }} -fn epplus-${{ env.VERSION }}.sbom.json -imp ./src/EPPlus/sbom-metadata-template.xml --spec-version 1.6
5454

5555
- name: Generate per-TFM SBOMs
5656
run: |
@@ -59,7 +59,7 @@ jobs:
5959
$tfm = $tfm.Trim()
6060
if ([string]::IsNullOrEmpty($tfm)) { continue }
6161
Write-Host "Generating SBOM for $tfm"
62-
dotnet CycloneDX ./src/EPPlus/EPPlus.csproj -o ./sbom -F Json -st Library -sv ${{ env.VERSION }} -fn "epplus-${{ env.VERSION }}.$tfm.sbom.json" -imp ./src/EPPlus/sbom-metadata-template.xml --framework $tfm --spec-version 1.7
62+
dotnet CycloneDX ./src/EPPlus/EPPlus.csproj -o ./sbom -F Json -st Library -sv ${{ env.VERSION }} -fn "epplus-${{ env.VERSION }}.$tfm.sbom.json" -imp ./src/EPPlus/sbom-metadata-template.xml --framework $tfm --spec-version 1.6
6363
}
6464
shell: pwsh
6565

0 commit comments

Comments
 (0)