citus/.github/actions/install_extension/action.yml

32 lines
882 B
YAML

name: install_extension
inputs:
pg_major:
required: false
runs:
using: composite
steps:
- name: Expose $PG_MAJOR to Github Env
run: |-
[ -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
- uses: actions/download-artifact@v3.0.1
with:
name: build-${{ env.PG_MAJOR }}
- name: Install Extension
run: tar xfv "install-$PG_MAJOR.tar" --directory /
shell: bash
- name: Configure
run: |-
chown -R circleci .
git config --global --add safe.directory ${GITHUB_WORKSPACE}
gosu circleci ./configure --without-pg-version-check
shell: bash
- name: Enable core dumps
run: ulimit -c unlimited
shell: bash