0
0
Fork 0
mirror of https://github.com/tj-actions/install-postgresql.git synced 2025-06-11 13:12:49 +00:00

Add support for PG 17 (#45)

* add support for pg 17

* enable manually running test action

---------

Co-authored-by: Tonye Jack <jtonye@ymail.com>
This commit is contained in:
Ragy Hosny 2024-12-08 16:19:00 +01:00 committed by GitHub
parent eca924aafa
commit f22fc31f92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 7 deletions

View file

@ -12,9 +12,9 @@ if ! [[ "$INPUT_POSTGRESQL_VERSION" =~ ^[0-9]+$ ]]; then
exit 1
fi
# Check if the input is between 11 and 16 (inclusive)
if (( INPUT_POSTGRESQL_VERSION < 12 || INPUT_POSTGRESQL_VERSION > 16 )); then
echo "Error: $INPUT_POSTGRESQL_VERSION is not between 12 and 16 (inclusive)."
# Check if the input is between 11 and 17 (inclusive)
if (( INPUT_POSTGRESQL_VERSION < 12 || INPUT_POSTGRESQL_VERSION > 17 )); then
echo "Error: $INPUT_POSTGRESQL_VERSION is not between 12 and 17 (inclusive)."
exit 1
fi