From 15a07f754738c0c836574b511e1701795bd5a73e Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Wed, 1 Nov 2023 20:41:17 +0100 Subject: [PATCH] ci: fix incorrect path for bom --- .gitea/workflows/server.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 81bafd4..43aff30 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -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"