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:
commit
1ec795ef2c
2 changed files with 3 additions and 4 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue