Skip to content

Commit 81a8f5e

Browse files
authored
Simplify action.yml by removing PostGIS install steps
Removed PostGIS installation steps for macOS.
1 parent afaae50 commit 81a8f5e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

action.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)