diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8566e50..8f06a69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -160,7 +160,7 @@ jobs: if: matrix.platform == 'windows-latest' && matrix.qt_version != '6.2.12' uses: actions/cache@v4.2.3 with: - path: C:/vcpkg/installed/x64-mingw-static + path: ${{ env.VCPKG_INSTALLATION_ROOT }}/installed/x64-mingw-static key: OpenSSLCache-${{ matrix.platform }}-${{ matrix.target }} - name: Install OpenSSL (Windows) if: matrix.platform == 'windows-latest' && steps.cache-openssl.outputs.cache-hit != 'true' && matrix.qt_version != '6.2.12' @@ -189,8 +189,8 @@ jobs: mkdir build cd build curl -fLso srslist.h "https://raw.githubusercontent.com/throneproj/routeprofiles/rule-set/srslist.h" - cmake -GNinja -DCMAKE_CXX_FLAGS="-static" -DOPENSSL_ROOT_DIR="$VCPKG_INSTALLATION_ROOT/installed/x64-mingw-static" -DCMAKE_BUILD_TYPE=Debug .. - ninja + cmake -GNinja -DCMAKE_CXX_FLAGS="-static" -DOPENSSL_ROOT_DIR="$VCPKG_ROOT/installed/x64-mingw-static" -DCMAKE_BUILD_TYPE=Debug .. + ninja -j2 cd .. ./script/deploy_windows.sh - name: Legacy Windows - Generate MakeFile and Build