From ef1ba141cebf5378392c9d5a4dd433d95a881484 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 3 Jan 2025 20:53:55 +0000 Subject: [PATCH] ci: use conan cache when building portable windows build --- .github/workflows/windows-portable.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/windows-portable.yml b/.github/workflows/windows-portable.yml index dea71f280..2102f1a0e 100644 --- a/.github/workflows/windows-portable.yml +++ b/.github/workflows/windows-portable.yml @@ -24,6 +24,16 @@ jobs: with: fetch-depth: 0 + - name: Cache Conan + uses: actions/cache@v4 + with: + path: ~/.conan2 + key: ${{ runner.os }}-conan-RelWithDebInfo-${{ hashFiles('conanfile.py') }} + restore-keys: | + ${{ runner.os }}-conan-RelWithDebInfo- + ${{ runner.os }}-conan- + ${{ runner.os }}- + - name: Set up MSVC uses: ilammy/msvc-dev-cmd@v1 with: