From 6defe7385246202c2e47053b416464f741c50c0b Mon Sep 17 00:00:00 2001 From: Vo Van Nghia Date: Mon, 22 Jan 2024 22:48:27 +0700 Subject: [PATCH] check --- .github/workflows/main.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7f040f3b..fe84bd16 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -71,14 +71,15 @@ jobs: - name: Install libpq run: | vcpkg install libpq[core]:x64-windows-static-release - echo "D:\Thirdparty\vcpkg\installed\x64-windows\bin" >> $GITHUB_PATH - echo "D:\Thirdparty\vcpkg\installed\x64-windows\lib" >> $GITHUB_PATH - echo "PQ_LIB_DIR=D:\Thirdparty\vcpkg\installed\x64-windows\lib" >> $GITHUB_ENV + echo "$VCPKG_INSTALLATION_ROOT\installed\x64-windows\bin" >> $GITHUB_PATH + echo "$VCPKG_INSTALLATION_ROOT\installed\x64-windows\lib" >> $GITHUB_PATH + echo "PQ_LIB_DIR=$VCPKG_INSTALLATION_ROOT\installed\x64-windows\lib" >> $GITHUB_ENV - name: Check run: | printenv - ls "D:\Thirdparty\vcpkg\installed\x64-windows\bin" - ls "D:\Thirdparty\vcpkg\installed\x64-windows\lib" + ls "$VCPKG_INSTALLATION_ROOT\installed\" + ls "$VCPKG_INSTALLATION_ROOT\installed\x64-windows\bin" + ls "$VCPKG_INSTALLATION_ROOT\installed\x64-windows\lib" - name: Build and test run: cargo test --locked --target x86_64-pc-windows-msvc