From e51594c7e30f4954ed6aac6c4fed1dc7f361cbf3 Mon Sep 17 00:00:00 2001 From: Dave Cramer Date: Tue, 16 Apr 2024 09:11:00 -0400 Subject: [PATCH] use installed pg take 2 --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b813340..ec907a11 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,7 +56,7 @@ jobs: uses: actions/cache@v4 id: cachePostgresInstaller with: - path: C:\OTHERBIN\postgres_install.exe + path: C:\OTHERBIN\postgresql_install.exe key: postgresql_installer - name: Cache pkgconfiglite for Compile using msvc and meson uses: actions/cache@v4 @@ -170,12 +170,16 @@ jobs: cd build ninja ninja install + - name: install postgresql binary + shell: cmd + run: | + echo on + C:\OTHERBIN\postgresql_install.exe --mode unattended --unattendedmodeui none --superpassword postgres --enable-components server - name: start postgresql shell: cmd run: | echo on sc config "postgresql-x64-14" start= auto - net start postgresql-x64-14 - name: get psqlodbc uses: actions/checkout@v4 - name: 'setup msvc for psqlodbc'