Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ jobs:
- windows-2022
- windows-2025
postgres-version:
- "14"
- "15"
- "16"
- "17"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ key features:
| database | The database name to set up and grant permissions to the created user. | `postgres` |
| port | The server port to listen on. | `5432` |
| max-connections | The maximum number of concurrent connections to the server. | `100` |
| postgres-version | The PostgreSQL major version to install. Supported values: "14", "15", "16", "17", "18". | `18` |
| postgres-version | The PostgreSQL major version to install. Supported values: "15", "16", "17", "18". | `18` |

#### Outputs

Expand Down Expand Up @@ -102,7 +102,7 @@ steps:
database: test
port: 34837
max-connections: 200
postgres-version: "14"
postgres-version: "15"
ssl: true
id: postgres

Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ inputs:
default: "100"
required: false
postgres-version:
description: The PostgreSQL major version to install. Either "14", "15", "16", "17" or "18".
description: The PostgreSQL major version to install. Either "15", "16", "17" or "18".
default: "18"
required: false
ssl:
Expand All @@ -48,8 +48,8 @@ runs:
steps:
- name: Install PostgreSQL
run: |
if [[ ! "$INPUT_POSTGRES_VERSION" =~ ^(14|15|16|17|18)$ ]]; then
echo "::error::postgres-version must be one of: 14, 15, 16, 17, 18."
if [[ ! "$INPUT_POSTGRES_VERSION" =~ ^(15|16|17|18)$ ]]; then
echo "::error::postgres-version must be one of: 15, 16, 17, 18."
exit 1
fi

Expand Down
Loading