File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33set -e
44
55curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg > /dev/null
6-
7- if [[ $POSTGRESQL_VERSION == * 12* ]];
8- then
9- echo " deb http://apt.postgresql.org/pub/repos/apt/ ` lsb_release -cs` -pgdg main $POSTGRESQL_VERSION " | sudo tee /etc/apt/sources.list.d/pgdg.list
10- echo " Using main repo"
11- else
12- echo " deb http://apt.postgresql.org/pub/repos/apt/ ` lsb_release -cs` -pgdg-snapshot main $POSTGRESQL_VERSION " | sudo tee /etc/apt/sources.list.d/pgdg.list
13- echo " Using snapshot report for$POSTGRESQL_VERSION "
14- fi
6+ echo " deb http://apt.postgresql.org/pub/repos/apt/ ` lsb_release -cs` -pgdg main $POSTGRESQL_VERSION " | sudo tee /etc/apt/sources.list.d/pgdg.list
157
168# RAISE priority of pgdg
179cat << EOF >> ./pgdg.pref
Original file line number Diff line number Diff line change 1- name : " [ubuntu-22.04] PostgreSQL 16"
1+ name : " [ubuntu-22.04] PostgreSQL 16 and PostGIS 3.3 "
22
33on :
44 push :
1717 - name : Install PostgreSQL
1818 env :
1919 POSTGRESQL_VERSION : 16
20- # POSTGIS_VERSION: 3
20+ POSTGIS_VERSION : 3
2121 run : .github/scripts/postgresql_postgis.sh
2222 - name : Install and check PgPointCloud
2323 run : .github/scripts/pgpointcloud.sh
You can’t perform that action at this time.
0 commit comments