From fb492945411fe2bc7cdfbea4a17bfedfccd4dfbc Mon Sep 17 00:00:00 2001 From: MD Ashique Date: Fri, 4 Aug 2023 17:03:51 +0530 Subject: [PATCH] Java lib release (#137) * Adding SBOM generation step Signed-off-by: MD Ashique * Adding SBOM generation step Signed-off-by: MD Ashique --------- Signed-off-by: MD Ashique --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 070e8edc..3e42fe26 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,9 +106,9 @@ jobs: - name: Generate SBOM manifest if: startsWith(github.ref, 'refs/tags/v') run: | - curl -Lo $RUNNER_TEMP/sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64 - chmod +x $RUNNER_TEMP/sbom-tool - $RUNNER_TEMP/sbom-tool generate -b ${{ env.MAVEN_OUTDIR }} -pn "Azure Functions Dapr Java Triggers and Bindings" -pv "${{ env.REL_VERSION }}" + curl -Lo sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64 + chmod +x sbom-tool + sbom-tool generate -b ${{ env.MAVEN_OUTDIR }} -pn "Azure Functions Dapr Java Triggers and Bindings" -pv "${{ env.REL_VERSION }}" working-directory: ${{ env.JAVA_LIB_WORKING_DIRECTORY }} - name: Upload .Net artifacts uses: actions/upload-artifact@master