ci: incorrect path?

This commit is contained in:
Timothy Schenk 2023-11-01 20:35:01 +01:00
parent fb32959c73
commit eeab460d0f

View file

@ -67,12 +67,11 @@ jobs:
dotnet tool install --global CycloneDX dotnet tool install --global CycloneDX
- name: Generate SBOM - name: Generate SBOM
run: | run: |
dotnet CycloneDX .\Server\Server.csproj -o bom.xml dotnet CycloneDX Server\Server.csproj -o bom.xml
- name: Upload SBOM - name: Upload SBOM
uses: https://github.com/DependencyTrack/gh-upload-sbom@v2.0.1 uses: https://github.com/DependencyTrack/gh-upload-sbom@v2.0.1
with: with:
apiKey: ${{ secrets.DEPENDENCY_TRACK_API_KEY }} apiKey: ${{ secrets.DEPENDENCY_TRACK_API_KEY }}
serverHostname: ${{ secrets.DEPENDENCY_TRACK_URL }} serverHostname: ${{ secrets.DEPENDENCY_TRACK_URL }}
projectName: ${{ secrets.DEPENDENCY_TRACK_PROJECT_NAME }} projectName: ${{ secrets.DEPENDENCY_TRACK_PROJECT_NAME }}
# project-version: ${{ secrets.DEPENDENCY_TRACK_PROJECT_VERSION }}
bomFilename: bom.xml bomFilename: bom.xml