mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-07 14:14:27 +02:00
Merge pull request #415 from Twon/buildinfo_in_cachekey
Move the cachekey to using build information for identiciation.
This commit is contained in:
11
.github/workflows/ci-conan.yml
vendored
11
.github/workflows/ci-conan.yml
vendored
@@ -179,11 +179,14 @@ jobs:
|
|||||||
cache-name: cache-conan-data
|
cache-name: cache-conan-data
|
||||||
with:
|
with:
|
||||||
path: ~/.conan/data
|
path: ~/.conan/data
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/metadata.json') }}
|
key: build-${{ matrix.config.os }}-${{ matrix.build_type }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.config.lib }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
build-${{ matrix.config.os }}-${{ matrix.build_type }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.config.lib }}
|
||||||
${{ runner.os }}-build-
|
build-${{ matrix.config.os }}-${{ matrix.build_type }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-
|
||||||
${{ runner.os }}-
|
build-${{ matrix.config.os }}-${{ matrix.build_type }}-${{ matrix.config.compiler.type }}-
|
||||||
|
build-${{ matrix.config.os }}-${{ matrix.build_type }}-
|
||||||
|
build-${{ matrix.config.os }}-
|
||||||
|
|
||||||
- uses: hendrikmuhs/ccache-action@v1.2
|
- uses: hendrikmuhs/ccache-action@v1.2
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user