File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -120,19 +120,7 @@ runs:
120120 if : runner.os == 'macOS'
121121 shell : bash
122122 run : |
123- PG_VERSION=${{ inputs.postgres-version }}
124123 brew install postgis
125- POSTGIS_CELLAR_PATH=$(brew --cellar postgis)
126- POSTGIS_VERSION=$(brew list --versions postgis | awk '{print $2}')
127- EXT_PATH=$(find "$POSTGIS_CELLAR_PATH/$POSTGIS_VERSION/share" -type d -name extension | head -n 1)
128- PG_EXT_PATH=$(brew --prefix postgresql@${PG_VERSION})/share/postgresql@${PG_VERSION}/extension
129-
130- if [ -d "$EXT_PATH" ]; then
131- cp "$EXT_PATH"/* "$PG_EXT_PATH"/
132- else
133- echo "::error::PostGIS extension directory not found at $EXT_PATH"
134- exit 1
135- fi
136124
137125 - name : Detect PostgreSQL Version (Windows)
138126 if : runner.os == 'Windows'
You can’t perform that action at this time.
0 commit comments