From 698f6c178fa63d46a33f750c49d758be74a0331d Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 6 May 2025 19:35:52 -0700 Subject: [PATCH] Revert "ci.yml: Don't cache windows build" This reverts commit 93a9db10b7db508444752e10bd37d164433cc24e. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a817b6cd9f..3770d745cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -137,6 +137,14 @@ jobs: $vsPath = &"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath &"$vsPath\VC\Auxiliary\Build\vcvarsall.bat" x64 shell: pwsh + - name: Cache CMake build directory + uses: actions/cache@v4 + with: + path: | + build + key: ${{ runner.os }}-cmake-build-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-cmake-build- - name: Configure run: cmake -B build -DWITH_FFMPEG_JOBS="$env:NUMBER_OF_PROCESSORS" - name: Build