fix condition

pull/7154/head
Gokhan Gulbiz 2023-08-21 18:26:23 +03:00
parent 95c9d26de1
commit abe4c4223b
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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 \