ikalnytskyi/Setup PostgreSQL for Linux/macOS/Windows
Setup a preinstalled PostgreSQL server.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 7, 2026
- License
- MIT
Pinned Snippet
uses: ikalnytskyi/action-setup-postgres@c4dda34aae1c821e3a771b68b73b13af3198a7ee # v8tags 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 PostgreSQL major version to install. Either "14", "15", "16", "17" or "18". | — | 18 |
| ssl | When "true", encrypt connections using SSL (TLS). | no | false |
Outputs
| name | description |
|---|---|
| connection-uri | The connection URI to connect to PostgreSQL. |
| service-name | The service name with connection parameters. |
| certificate-path | The path to the server certificate if SSL is on. |