From c816b437d9d952be31b66889566a463303cead4e Mon Sep 17 00:00:00 2001 From: Vo Van Nghia Date: Mon, 22 Jan 2024 22:03:07 +0700 Subject: [PATCH] export postgres path --- .github/workflows/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d56c75f8..688509f2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -64,6 +64,8 @@ jobs: - name: Install postgres run: | choco install postgresql16 --force --params '/Password:root' + echo "C:\Program Files\PostgreSQL\16\bin" >> $GITHUB_PATH + echo "C:\Program Files\PostgreSQL\16\lib" >> $GITHUB_PATH echo "PQ_LIB_DIR=C:\Program Files\PostgreSQL\16\lib" >> $GITHUB_ENV - name: Build and test run: cargo test --locked --target x86_64-pc-windows-msvc