diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ca8e8b92..2d6464201 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: - ubuntu-latest - windows-latest - macos-latest + - macos-13 steps: - uses: actions/checkout@v4 diff --git a/action.yml b/action.yml index cf33b14cf..3ca099cea 100644 --- a/action.yml +++ b/action.yml @@ -38,6 +38,14 @@ runs: elif [ "$RUNNER_OS" == "Windows" ]; then echo "$PGBIN" >> $GITHUB_PATH echo "PQ_LIB_DIR=$PGROOT\lib" >> $GITHUB_ENV + elif [ "$RUNNER_OS" == "macOS" ]; then + case "$(sw_vers -productVersion)" in + 13.*) + # Unfortunately, the macOS 13 runner image doesn't come w/ + # pre-installed PostgreSQL server. + brew install postgresql@14 + ;; + esac fi shell: bash