diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 1499a351..35d79550 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -65,6 +65,7 @@ jobs: run: | pip install -U conan + - run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV - name: Cache Conan uses: actions/cache@v4 if: always() @@ -72,7 +73,7 @@ jobs: cache-name: cache-conan-data with: path: ~/.conan2/p - key: ${{ matrix.config.os }}-{{ matrix.std }}-${{ matrix.config.name }}-${{ matrix.build_type }}-${{ hashFiles('conanfile.txt') }} + key: ${{ matrix.config.os }}-${{ matrix.build_type }}-${{ matrix.config.compiler.version }}-{{ matrix.std }}-${{ env.cache_id }} - name: Conan Configure shell: bash