Skip to content

Commit 4052e06

Browse files
authored
Fix PG18 (beta) CI config (#3570)
1 parent f5dba3a commit 4052e06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ jobs:
5656
5757
# Automated repository configuration
5858
sudo apt install -y postgresql-common
59-
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
59+
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -v ${{ matrix.pg_major }} -y
6060
sudo apt-get update -qq
6161
sudo apt-get install -qq postgresql-${{ matrix.pg_major }}
6262
6363
# To disable PostGIS for prereleases (because it usually isn't available until late), surround with the following:
64-
if [ -z "${{ matrix.pg_prerelease }}" ]; then
64+
#if [ -z "${{ matrix.pg_prerelease }}" ]; then
6565
sudo apt-get install -qq postgresql-${{ matrix.pg_major }}-postgis-${{ env.postgis_version }}
66-
fi
66+
#fi
6767
6868
sudo sed -i 's/max_connections = 100/max_connections = 200/g' /etc/postgresql/${{ matrix.pg_major }}/main/postgresql.conf
6969
sudo systemctl restart postgresql

0 commit comments

Comments
 (0)