diff --git a/.github/workflows/cherryPick.yml b/.github/workflows/cherryPick.yml index db76a651b818..b1facd69e10e 100644 --- a/.github/workflows/cherryPick.yml +++ b/.github/workflows/cherryPick.yml @@ -84,7 +84,7 @@ jobs: - name: Save correct NEW_VERSION to env run: | - if [[ -z ${{ github.event.inputs.NEW_VERSION }} ]]; then + if [ -z ${{ github.event.inputs.NEW_VERSION }} ]; then echo "NEW_VERSION=${{ needs.createNewVersion.outputs.NEW_VERSION }}" >> $GITHUB_ENV echo "New version is ${{ env.NEW_VERSION }}" else