From b00fd10c018e3266fe046c07fcad6b0ed79e66a4 Mon Sep 17 00:00:00 2001 From: Dave Cramer Date: Mon, 15 Apr 2024 08:15:06 -0400 Subject: [PATCH] install in short dir --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5af551d4..897c6ca2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -173,12 +173,11 @@ jobs: - name: install postgresql binary shell: powershell run: | - C:\OTHERBIN\postgresql_install.exe --mode=unattended --unattendedmodeui=none --superpassword postgres --enable-components server + C:\OTHERBIN\postgresql_install.exe --mode=unattended --unattendedmodeui=none --superpassword postgres --prefix D:\OTHERBIN\postgresql --datadir D:\OTHERBIN\postgresql\data --enable-components server - name: start postgresql shell: powershell run: | - $env:Path += "C:\Program\ Files\PostgreSQL\16\bin\" - pg_ctl.exe -D "C:\Program Files\PostgreSQL\16\data" -w + D:\OTHERBIN\postgresl\bin\pg_ctl.exe -D "D:\OTHERBIN\postgreql\data" -w - name: get psqlodbc uses: actions/checkout@v4 - name: 'setup msvc for psqlodbc'