actions-marketplace-validations/Setup PostgreSQL and PostGIS for Linux/macOS/Windows
Setup PostgreSQL server and install PostGIS extension.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 15, 2026
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/nyurik_action-setup-postgis@e54fc643200ee809b4711c3f537c433dfbeba056 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| username | The username of the user to setup. | no | postgres |
| password | The password of the user to setup. | no | postgres |
| database | The database name to setup and grant permissions to created user. | no | postgres |
| port | The server port to listen on. | no | 5432 |
| postgres-version | The version of PostgreSQL to install. | no | 17 |
| postgis_version | The version of PostGIS to install. | no | "" |
| cached-dir | Where should the temporary downloads be placed. Used to download and cache PostGIS binary. | no | downloads |
Outputs
| name | description |
|---|---|
| connection-uri | The connection URI to connect to PostgreSQL. |
| service-name | The service name with connection parameters. |