Skip to content

Commit 125be94

Browse files
authored
Downgrade CycloneDX spec version from 1.7 to 1.6
1 parent 438533e commit 125be94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/Build-Release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)