diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f914878d..033a8f0b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -147,7 +147,7 @@ jobs: run: | echo "inputs.version = ${{ inputs.version }}" for attempt in 1 2 3 4 5; do - if [[ "${{ inputs.version }}" != "edge" && "${{ inputs.version }}" != *"rc"* ]]; then + if [[ -n "${{ inputs.version }}" && "${{ inputs.version }}" != "edge" && "${{ inputs.version }}" != *"rc"* ]]; then echo "@@@@@ Inside first if" INPUT_CHANNEL=$(echo "${{ inputs.version }}" | cut -d '.' -f 1,2) echo "@@@@ INPUT_CHANNE= $INPUT_CHANNEL"