ci: fix incorrect path for bom
This commit is contained in:
parent
c77513006a
commit
15a07f7547
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue