diff --git a/.github/actions/install_extension/action.yml b/.github/actions/install_extension/action.yml index 010a30d10..40132a881 100644 --- a/.github/actions/install_extension/action.yml +++ b/.github/actions/install_extension/action.yml @@ -6,7 +6,14 @@ runs: using: composite steps: - name: Expose $PG_MAJOR to Github Env - run: echo "PG_MAJOR=${{ inputs.pg_major || env.PG_MAJOR }}" >> $GITHUB_ENV + run: |- + if [ -z "${{ inputs.pg_major }}"]; then + echo "PG_MAJOR=${{ inputs.pg_major}}" >> $GITHUB_ENV + else + echo "PG_MAJOR=${{ env.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: diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index b5e4a34c4..e9e55680d 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -397,7 +397,6 @@ jobs: test-flakyness-pre: name: Detect regression tests need to be ran runs-on: ubuntu-latest - needs: build outputs: tests: ${{ steps.detect-regression-tests.outputs.tests }} steps: