ci: fix incorrect path for bom
All checks were successful
Test if Server can be built / build-server (push) Successful in 25s
Test if Server can be built / sonarqube (push) Successful in 1m17s
Test if Server can be built / dependency-track (push) Successful in 29s

This commit is contained in:
Timothy Schenk 2023-11-01 20:41:17 +01:00
parent c77513006a
commit 15a07f7547

View file

@ -67,7 +67,7 @@ jobs:
dotnet tool install --global CycloneDX
- name: Generate SBOM
run: |
dotnet CycloneDX Server/Server.csproj -o bom.xml
dotnet CycloneDX Server/Server.csproj -o .
- name: Upload SBOM
uses: https://github.com/DependencyTrack/gh-upload-sbom@v2.0.1
with:
@ -76,4 +76,4 @@ jobs:
projectName: ${{ secrets.DEPENDENCY_TRACK_PROJECT_NAME }}
autoCreate: true
projectVersion: ${GITHUB_REF_NAME}
bomFilename: bom.xml
bomFilename: "${{ github.workspace }}/bom.xml"