Skip to content

Commit

Permalink
Test pg17
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Sep 27, 2024
1 parent b12026e commit b808a12
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-14, macos-13, macos-12]
postgres-version: [16, 15, 14, 13, 12]
include:
- os: windows-2022
postgres-version: 14
- os: windows-2019
postgres-version: 14
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
postgres-version: [17]
# include:
# - os: windows-2022
# postgres-version: 14
# - os: windows-2019
# postgres-version: 14
steps:
- uses: actions/checkout@v4
- uses: ./.
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ if (isMac()) {
// beta versions require extra component
// development snapshots require this and -snapshot after pgdg
// https://wiki.postgresql.org/wiki/Apt/FAQ
const suffix = postgresVersion >= 17 ? ` ${postgresVersion}` : "";
const snapshot = postgresVersion >= 17 ? `-snapshot` : "";
const suffix = postgresVersion >= 18 ? ` ${postgresVersion}` : "";
const snapshot = postgresVersion >= 18 ? `-snapshot` : "";
run(`curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null`)
run(`echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg${snapshot} main${suffix}" | sudo tee /etc/apt/sources.list.d/pgdg.list`);
}
Expand Down

0 comments on commit b808a12

Please sign in to comment.