From a3e49066d9ae486fea088485bcc1ac8ca2445dd0 Mon Sep 17 00:00:00 2001 From: Denis Beqiraj Date: Thu, 18 Apr 2024 14:53:53 +0200 Subject: [PATCH] Update compile.yml --- .github/workflows/compile.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 810eda1..3486120 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -1,23 +1,18 @@ + name: compile on: [push] jobs: compile-windows: runs-on: windows-latest steps: - - name: Export GitHub Actions cache environment variables - uses: actions/github-script@v6 - with: - script: | - core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); - core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); - env: - VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code uses: actions/checkout@v2 - - run: .\\vcpkg integrate install - - run: .\\vcpkg install + - run: git clone https://github.com/Microsoft/vcpkg.git + - run: .\\vcpkg\\bootstrap-vcpkg.bat + - run: .\\vcpkg\\vcpkg integrate install + - run: .\\vcpkg\\vcpkg install - run: mkdir build - - run: cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake - - run: cmake --build build/ + - run: cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=\.\vcpkg\\scripts\\buildsystems\\vcpkg.cmake + - run: cmake --build build\\ - run: echo ""