diff --git a/.github/workflows/create_sbom_report.yml b/.github/workflows/create_sbom_report.yml index 90836ec89..93bd865e8 100644 --- a/.github/workflows/create_sbom_report.yml +++ b/.github/workflows/create_sbom_report.yml @@ -19,7 +19,7 @@ jobs: version-check: runs-on: ${{ github.event.client_payload.agentSpec }} steps: - - name: Available image version check + - name: Available image version check for ${{ github.event.client_payload.ReleaseBranchName }} run: | if ($env:ImageVersion -ne '${{ github.event.client_payload.imageVersion }}') { throw "Current runner $env:ImageVersion image version don't match ${{ github.event.client_payload.imageVersion }}." @@ -49,6 +49,12 @@ jobs: #Preparing artifact (raw SBOM.json is too big) - name: Compress SBOM file run: Compress-Archive sbom.json sbom.json.zip + #Upload artifact action + - uses: actions/upload-artifact@v3 + with: + name: sbom-${{ github.event.client_payload.ReleaseBranchName }} + path: sbom.json.zip + if-no-files-found: warn #Upload release asset action #Might be changed to softprops/action-gh-release after additional check - name: Upload release asset