diff --git a/.github/workflows/pg11test-pgdg-packages.yml b/.github/workflows/pg11test-pgdg-packages.yml index 9126f7c7018f..ad8ef4de1d70 100644 --- a/.github/workflows/pg11test-pgdg-packages.yml +++ b/.github/workflows/pg11test-pgdg-packages.yml @@ -38,6 +38,8 @@ jobs: - name: Build pg_stat_monitor run: | + export PATH="/usr/lib/postgresql/11/bin:$PATH" + sudo cp /usr/lib/postgresql/11/bin/pg_config /usr/bin sudo make USE_PGXS=1 sudo make USE_PGXS=1 install working-directory: src/pg_stat_monitor/ diff --git a/.github/workflows/pg12test-pgdg-packages.yml b/.github/workflows/pg12test-pgdg-packages.yml index 2653ec6b98c0..274e082feada 100644 --- a/.github/workflows/pg12test-pgdg-packages.yml +++ b/.github/workflows/pg12test-pgdg-packages.yml @@ -38,6 +38,8 @@ jobs: - name: Build pg_stat_monitor run: | + export PATH="/usr/lib/postgresql/12/bin:$PATH" + sudo cp /usr/lib/postgresql/12/bin/pg_config /usr/bin sudo make USE_PGXS=1 sudo make USE_PGXS=1 install working-directory: src/pg_stat_monitor/ diff --git a/.github/workflows/pg13test-pgdg-packages.yml b/.github/workflows/pg13test-pgdg-packages.yml index 49e0261d5c3b..1a718d2be528 100644 --- a/.github/workflows/pg13test-pgdg-packages.yml +++ b/.github/workflows/pg13test-pgdg-packages.yml @@ -34,6 +34,8 @@ jobs: - name: Build pg_stat_monitor run: | + export PATH="/usr/lib/postgresql/13/bin:$PATH" + sudo cp /usr/lib/postgresql/13/bin/pg_config /usr/bin sudo make USE_PGXS=1 sudo make USE_PGXS=1 install working-directory: src/pg_stat_monitor/ diff --git a/.github/workflows/pg14test-pgdg-packages.yml b/.github/workflows/pg14test-pgdg-packages.yml index 352aac6a687a..ad6bc91e21cb 100644 --- a/.github/workflows/pg14test-pgdg-packages.yml +++ b/.github/workflows/pg14test-pgdg-packages.yml @@ -38,6 +38,8 @@ jobs: - name: Build pg_stat_monitor run: | + export PATH="/usr/lib/postgresql/14/bin:$PATH" + sudo cp /usr/lib/postgresql/14/bin/pg_config /usr/bin sudo make USE_PGXS=1 sudo make USE_PGXS=1 install working-directory: src/pg_stat_monitor/