actions-marketplace-validations/Setup PostgreSQL and PostGIS for Linux/macOS/Windows

Setup PostgreSQL server and install PostGIS extension.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 15, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/nyurik_action-setup-postgis@e54fc643200ee809b4711c3f537c433dfbeba056 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
usernameThe username of the user to setup.nopostgres
passwordThe password of the user to setup.nopostgres
databaseThe database name to setup and grant permissions to created user.nopostgres
portThe server port to listen on.no5432
postgres-versionThe version of PostgreSQL to install.no17
postgis_versionThe version of PostGIS to install.no""
cached-dirWhere should the temporary downloads be placed. Used to download and cache PostGIS binary.nodownloads
namedescription
connection-uriThe connection URI to connect to PostgreSQL.
service-nameThe service name with connection parameters.