From 1d67a37acc5cf0d919c5c25ab6ec12228d22e078 Mon Sep 17 00:00:00 2001 From: siddhantCodes Date: Tue, 2 Jan 2024 17:09:08 +0530 Subject: [PATCH] windows build attempt to find libpq --- .github/workflows/static_build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 9e99bc5416..842c132b7f 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -11,6 +11,13 @@ jobs: steps: - uses: actions/checkout@main - uses: actions-rs/toolchain@v1 + - name: find pq + run: | + dir "C:\Program Files\PostgreSQL\14" + dir "C:\Program Files\PostgreSQL\14\bin" + dir "C:\Program Files\PostgreSQL\14\lib" + - name: try LIB_PQ_DIR with cargo build + run: echo "LIB_PQ_DIR=C:\Program Files\PostgreSQL\14\lib" >> $GITHUB_ENV - name: Run Build id: build-windows continue-on-error: false