From 37e45a6599fbce74e2c813b80fde239c8dfcd861 Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Wed, 18 Oct 2023 15:20:55 +0200 Subject: [PATCH] chore: pass all parameters when there is a new version has been set [skip ci] (#4598) (#4599) Co-authored-by: Zhe Sun <31067185+ZheSun88@users.noreply.github.com> --- .github/workflows/sbom.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml index 4e5c6a2cc..05c2a7f65 100644 --- a/.github/workflows/sbom.yml +++ b/.github/workflows/sbom.yml @@ -91,7 +91,7 @@ jobs: [ true = "${{github.event.inputs.useFullOWASP}}" ] && A="$A --enable-full-owasp" [ true = "${{github.event.inputs.useSnapshots}}" ] && A="$A --useSnapshots" V="${{ github.event.inputs.version || github.event.release.tag_name }}" - [ -n "$V" ] && A="--version $V" + [ -n "$V" ] && A="$A --version $V" cmd="scripts/generateAndCheckSBOM.js $A" echo "Running: $cmd" $cmd