diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1031704..4ae08ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,13 +6,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-15, macos-14, macos-13] - postgres-version: [17, 16, 15, 14, 13] + # os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-15, macos-14, macos-13] + # postgres-version: [17, 16, 15, 14, 13] include: - - os: windows-2022 - postgres-version: 14 - - os: windows-2019 - postgres-version: 14 + - os: windows-2025 + postgres-version: 17 + # - os: windows-2022 + # postgres-version: 14 + # - os: windows-2019 + # postgres-version: 14 steps: - uses: actions/checkout@v4 - uses: ./. diff --git a/index.js b/index.js index d0e7529..72c33ad 100644 --- a/index.js +++ b/index.js @@ -103,7 +103,8 @@ if (isMac()) { // start run(`${bin}/pg_ctl -w -D ${dataDir} start`); } else if (isWindows()) { - if (postgresVersion != 14) { + console.log(process.env['ImageOS']); + if (postgresVersion != 17) { throw `Postgres version not supported on Windows: ${postgresVersion}`; }