0
0
Fork 0
mirror of https://github.com/tj-actions/pg-dump.git synced 2024-12-20 01:18:49 +00:00

Update entrypoint.sh

This commit is contained in:
Tonye Jack 2023-09-07 19:51:12 -06:00 committed by GitHub
parent a03f8dcfc8
commit 04f93bed1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ if [[ -n "$INPUT_POSTGRESQL_VERSION" ]]; then
fi fi
# Check if the input is between 10 and 15 (inclusive) # Check if the input is between 10 and 15 (inclusive)
if (( $INPUT_POSTGRESQL_VERSION < 10 || $INPUT_POSTGRESQL_VERSION > 15 )); then if (( INPUT_POSTGRESQL_VERSION < 10 || INPUT_POSTGRESQL_VERSION > 15 )); then
echo "Error: $INPUT_POSTGRESQL_VERSION is not between 10 and 15 (inclusive)." echo "Error: $INPUT_POSTGRESQL_VERSION is not between 10 and 15 (inclusive)."
exit 1 exit 1
fi fi