From abe4c4223b38e14a3d8bb73485e2ce38053be35d Mon Sep 17 00:00:00 2001 From: Gokhan Gulbiz Date: Mon, 21 Aug 2023 18:26:23 +0300 Subject: [PATCH] fix condition --- .github/actions/install_extension/action.yml | 8 ++++---- .github/workflows/build_and_test.yml | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/actions/install_extension/action.yml b/.github/actions/install_extension/action.yml index 971fd3087..b04478ab0 100644 --- a/.github/actions/install_extension/action.yml +++ b/.github/actions/install_extension/action.yml @@ -9,21 +9,21 @@ runs: using: composite steps: - name: Expose $PG_MAJOR to Github Env + # echo "PG_MAJOR=${PG_MAJOR}" >> $GITHUB_ENV + # echo "inputs.pg_major : ${{ inputs.pg_major }}" + # echo "env.PG_MAJOR : ${{ env.PG_MAJOR }}" run: |- - echo "PG_MAJOR=${PG_MAJOR}" >> $GITHUB_ENV if [ -z "${{ inputs.pg_major }}" ]; then echo "PG_MAJOR=${PG_MAJOR}" >> $GITHUB_ENV else echo "PG_MAJOR=${{ inputs.pg_major }}" >> $GITHUB_ENV fi - echo "inputs.pg_major : ${{ inputs.pg_major }}" - echo "env.PG_MAJOR : ${{ env.PG_MAJOR }}" shell: bash - uses: actions/download-artifact@v3.0.1 with: name: build-${{ env.PG_MAJOR }} - name: Install Extension - if: ${{ inputs.skip_installation != false }} + if: ${{ !inputs.skip_installation }} run: tar xfv "install-$PG_MAJOR.tar" --directory / shell: bash - name: Configure diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index b19b0cb9c..8be40f7ec 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -302,8 +302,6 @@ jobs: skip_installation: true - name: Install and test citus upgrade run: |- - chown -R circleci . - gosu circleci ./configure --without-pg-version-check # run make check-citus-upgrade for all citus versions # the image has ${CITUS_VERSIONS} set with all verions it contains the binaries of for citus_version in ${CITUS_VERSIONS}; do \