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

Merge pull request #17 from tj-actions/fix/error-with-tests

This commit is contained in:
Tonye Jack 2023-11-29 14:16:51 -07:00 committed by GitHub
commit 1ec795ef2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -26,8 +26,8 @@ jobs:
strategy:
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]
platform: [ubuntu-latest, macos-latest, windows-latest]
postgresql_version: [11, 12, 14, 15]
steps:
- name: Checkout
uses: actions/checkout@v4

View file

@ -39,8 +39,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
elif [[ "$(uname -s)" == "NT"* ]] || [[ "$(uname -s)" == "MINGW"* ]] || [[ "$(uname -s)" == *"MSYS"* ]]; then
choco install "postgresql$INPUT_POSTGRESQL_VERSION" -y --no-progress --use-download-cache
elif [[ "$(uname -s)" == "Darwin" ]]; then
brew update
brew install "postgresql@$INPUT_POSTGRESQL_VERSION"
HOMEBREW_NO_AUTO_UPDATE=1 brew install --force "postgresql@$INPUT_POSTGRESQL_VERSION"
else
echo "Unsupported OS"
exit 1