From 54c64a4620acf25f78b44031c754f3ab7dbfbf6e Mon Sep 17 00:00:00 2001 From: Guian Gumpac Date: Fri, 6 Sep 2024 17:33:03 -0700 Subject: [PATCH] Fixed semgrep error Signed-off-by: Guian Gumpac --- .github/workflows/java-cd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/java-cd.yml b/.github/workflows/java-cd.yml index 3ef53fb0cd..3c90248d11 100644 --- a/.github/workflows/java-cd.yml +++ b/.github/workflows/java-cd.yml @@ -49,13 +49,15 @@ jobs: shell: bash run: | if ${{ github.event_name == 'workflow_dispatch' }}; then - R_VERSION="${{ github.event.inputs.version }}" + R_VERSION="${{ env.INPUT_VERSION }}" else R_VERSION=${GITHUB_REF:11} fi echo "RELEASE_VERSION=${R_VERSION}" >> $GITHUB_ENV echo "Release version detected: $R_VERSION" echo "RELEASE_VERSION=$R_VERSION" >> $GITHUB_OUTPUT + env: + INPUT_VERSION: ${{ github.event.inputs.version }} create-binaries-to-publish: needs: [set-release-version, load-platform-matrix]