From ca3f6cce8ce72b6afb5a12fd7bb94c312c02c8fd Mon Sep 17 00:00:00 2001
From: Joris Vaillant <joris.vaillant@inria.fr>
Date: Tue, 9 Apr 2024 17:32:57 +0200
Subject: [PATCH] ci: Use the right cache key on Windows

---
 .github/workflows/windows-conda.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/windows-conda.yml b/.github/workflows/windows-conda.yml
index 1b5b01d7..706c14b4 100644
--- a/.github/workflows/windows-conda.yml
+++ b/.github/workflows/windows-conda.yml
@@ -46,8 +46,8 @@ jobs:
     - uses: actions/cache@v4
       with:
         path: .ccache
-        key: ccache-windows-conda-${{ matrix.os }}-${{ github.sha }}
-        restore-keys: ccache-windows-conda-${{ matrix.os }}-
+        key: ccache-windows-conda-${{ matrix.compiler }}-${{ matrix.os }}-${{ github.sha }}
+        restore-keys: ccache-windows-conda-${{ matrix.compiler }}-${{ matrix.os }}-
 
     - uses: conda-incubator/setup-miniconda@v3
       with:
-- 
GitLab