From b691fc098bfe0ab4965bd73f97d531db8a6961aa Mon Sep 17 00:00:00 2001 From: Gokhan Gulbiz Date: Mon, 21 Aug 2023 12:59:43 +0300 Subject: [PATCH] Fix install extension --- .github/actions/install_extension/action.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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