From b3cbde1d94fd576dc4fd7e5046fba68104ebbb98 Mon Sep 17 00:00:00 2001 From: Bertrand Coconnier Date: Sat, 19 Oct 2024 17:50:14 +0200 Subject: [PATCH] Fix the name of the cache files. --- .github/workflows/cpp-python-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpp-python-build.yml b/.github/workflows/cpp-python-build.yml index 800e2f0b4..eaa434116 100644 --- a/.github/workflows/cpp-python-build.yml +++ b/.github/workflows/cpp-python-build.yml @@ -97,7 +97,7 @@ jobs: path: | ~/.cache/pip build/Testing/Temporary/CTestCostData.txt - key: ${{ runner.os }}-${{ hashFiles('tests/CMakeLists.txt', 'python/requirements.tx') }} + key: ${{ runner.os }}-3.8-${{ hashFiles('tests/CMakeLists.txt', 'python/requirements.txt') }} - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -303,7 +303,7 @@ jobs: path: | ~\AppData\Local\pip\Cache build\Testing\Temporary\CTestCostData.txt - key: ${{ runner.os }}-${{ hashFiles('tests\CMakeLists.txt', 'python\requirements.tx') }} + key: ${{ runner.os }}-3.8-${{ hashFiles('tests\CMakeLists.txt', 'python\requirements.txt') }} - name: Set up Python 3.8 uses: actions/setup-python@v5 with: @@ -455,7 +455,7 @@ jobs: path: | ~/Library/Caches/pip build/Testing/Temporary/CTestCostData.txt - key: ${{ runner.os }}-${{ hashFiles('tests\CMakeLists.txt', 'python\requirements.tx') }} + key: ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('tests\CMakeLists.txt', 'python\requirements.txt') }} - name: Set up Python uses: actions/setup-python@v5 with: