From a05e78e9d1ce1a190880c272ef4b500cf24304f3 Mon Sep 17 00:00:00 2001 From: AxVultis Date: Sat, 23 Sep 2023 16:50:54 +0200 Subject: [PATCH] Cache Boost --- .github/workflows/check.yml | 10 +++++++++- .github/workflows/windows.yml | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 389656c3..2e2ddbd6 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -29,7 +29,15 @@ jobs: - name: Install msbuild uses: microsoft/setup-msbuild@v1.1.3 - - name: Install dependencies + - name: Restore Boost + uses: actions/cache@v3 + id: restore-boost + with: + path: ${{env.BOOST_ROOT}} + key: boost_1_83_0-msvc-14.3-64 + + - name: Install Boost + if: steps.restore-boost.outputs.cache-hit != 'true' shell: powershell run: | $Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.83.0/boost_1_83_0-msvc-14.3-64.exe" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1551c830..c575e31d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -17,7 +17,15 @@ jobs: - name: Setup msbuild uses: microsoft/setup-msbuild@v1.1.3 + - name: Restore Boost + uses: actions/cache@v3 + id: restore-boost + with: + path: ${{env.BOOST_ROOT}} + key: boost_1_83_0-msvc-14.3-64 + - name: Install Boost + if: steps.restore-boost.outputs.cache-hit != 'true' shell: powershell run: | $Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.83.0/boost_1_83_0-msvc-14.3-64.exe"