diff --git a/.github/actions/install_extension/action.yml b/.github/actions/install_extension/action.yml index 30a50c7f5..222818ec6 100644 --- a/.github/actions/install_extension/action.yml +++ b/.github/actions/install_extension/action.yml @@ -7,11 +7,10 @@ runs: steps: - name: Expose $PG_MAJOR to Github Env run: |- - if [ -z "${{ inputs.pg_major }}"]; then - echo "PG_MAJOR=${{ inputs.pg_major}}" >> $GITHUB_ENV - else - echo "PG_MAJOR=${PG_MAJOR}" >> $GITHUB_ENV - fi + [ -z "${{ inputs.pg_major }}"] && + echo "PG_MAJOR=${PG_MAJOR}" || + echo "PG_MAJOR=${{ inputs.pg_major }} + >> $GITHUB_ENV echo "inputs.pg_major : ${{ inputs.pg_major }}" echo "env.PG_MAJOR : ${{ env.PG_MAJOR }}" shell: bash