mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
cut off postgres@10
This commit is contained in:
parent
46ba3ce2b3
commit
04c1ded2c2
2 changed files with 4 additions and 4 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
platform: [ubuntu-latest, ubuntu-20.04, macos-latest, macos-11, macos-13, windows-latest]
|
||||
postgresql_version: [10, 11, 12, 14, 15, 16]
|
||||
postgresql_version: [11, 12, 14, 15, 16]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
@ -12,9 +12,9 @@ if ! [[ "$INPUT_POSTGRESQL_VERSION" =~ ^[0-9]+$ ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Check if the input is between 10 and 16 (inclusive)
|
||||
if (( INPUT_POSTGRESQL_VERSION < 10 || INPUT_POSTGRESQL_VERSION > 16 )); then
|
||||
echo "Error: $INPUT_POSTGRESQL_VERSION is not between 10 and 16 (inclusive)."
|
||||
# Check if the input is between 11 and 16 (inclusive)
|
||||
if (( INPUT_POSTGRESQL_VERSION < 11 || INPUT_POSTGRESQL_VERSION > 16 )); then
|
||||
echo "Error: $INPUT_POSTGRESQL_VERSION is not between 11 and 16 (inclusive)."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue