From ad208f21f33b7cfd8abf0832454efcabd6f37bf2 Mon Sep 17 00:00:00 2001 From: Dave Cramer Date: Mon, 15 Apr 2024 07:16:25 -0400 Subject: [PATCH] try to set the path --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e271a56..5af551d4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -176,7 +176,9 @@ jobs: C:\OTHERBIN\postgresql_install.exe --mode=unattended --unattendedmodeui=none --superpassword postgres --enable-components server - name: start postgresql shell: powershell - run: "C:\Program Files\PostgreSQL\16\bin\pg_ctl.exe" runservice -N postgresql-x64-16 -D "C:\Program Files\PostgreSQL\16\data" -w + run: | + $env:Path += "C:\Program\ Files\PostgreSQL\16\bin\" + pg_ctl.exe -D "C:\Program Files\PostgreSQL\16\data" -w - name: get psqlodbc uses: actions/checkout@v4 - name: 'setup msvc for psqlodbc'