File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 fail-fast : false
1515 matrix :
16- os : [ ubuntu-20.04, windows-2019 ]
16+ # Temporarily disable Windows because of PG installation issues
17+ # os: [ ubuntu-20.04, windows-2019 ]
18+ os : [ ubuntu-20.04 ]
1719 pg_major : [ 12, 11, 10 ]
1820# PostgreSQL 13 is out, but there's no PostGIS binary for Windows yet (http://download.osgeo.org/postgis/windows/)
1921 include :
@@ -52,13 +54,11 @@ jobs:
5254 if : startsWith(matrix.os, 'windows')
5355 run : |
5456 # Find EnterpriseDB version number
55- EDB_VERSION=$(pwsh -c "
56- \$global:progressPreference='silentlyContinue';
57- Invoke-WebRequest -URI https://www.postgresql.org/applications-v2.xml |
58- Select-Object -ExpandProperty Content |
59- Select-Xml -XPath '/applications/application[id=\"postgresql_${{ matrix.pg_major }}\" and platform=\"windows-x64\"]/version/text()' |
60- Select-Object -First 1 -ExpandProperty Node |
61- Select-Object -ExpandProperty Value")
57+ EDB_VERSION=$(\
58+ curl -Ls 'http://sbp.enterprisedb.com/applications.xml' |
59+ sed -n '\#<id>postgresql_${{ matrix.pg_major }}</id>#{n;p;n;p;}' |
60+ sed -n '\#<platform>windows-x64</platform>#{n;p;}' |
61+ sed -E 's#.*<version>([^<]+)</version>#\1#')
6262
6363 # Install PostgreSQL
6464 echo "Installing PostgreSQL (version: ${EDB_VERSION})"
You can’t perform that action at this time.
0 commit comments