File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,15 +101,15 @@ jobs:
101101 - name : Install CycloneDX
102102 run : dotnet tool install --global CycloneDX
103103 - name : Generate combined SBOM
104- 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
104+ 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
105105 - name : Generate per-TFM SBOMs
106106 run : |
107107 $tfms = "${{ env.TFMS }}" -split ";"
108108 foreach ($tfm in $tfms) {
109109 $tfm = $tfm.Trim()
110110 if ([string]::IsNullOrEmpty($tfm)) { continue }
111111 Write-Host "Generating SBOM for $tfm"
112- 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
112+ 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
113113 }
114114 shell : pwsh
115115 - name : Generate SHA-256 checksums for all SBOMs
You can’t perform that action at this time.
0 commit comments