diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 574321a5..3a243ffb 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -286,4 +286,6 @@ jobs: run: ctest --preset ${{ env.CONAN_PRESET }} -LE GPU # Exclude GPU tests as Github actions do not have the supported hardware/drivers - name: Conan Cache Save - run: conan cache save "*" + run: | + conan cache clean + conan cache save "*/*:*" diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index 85465d89..72ce9884 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -180,4 +180,6 @@ jobs: files: ${{github.workspace}}/build/${{env.BUILD_TYPE}}/coverage/cobertura_coverage.xml - name: Conan Cache Save - run: conan cache save "*" + run: | + conan cache clean + conan cache save "*/*:*" diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3239b358..2fc4eff1 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -131,4 +131,6 @@ jobs: publish_dir: ./build/documentation/sphinx - name: Conan Cache Save - run: conan cache save "*" + run: | + conan cache clean + conan cache save "*/*:*" diff --git a/conanfile.py b/conanfile.py index 73e3a112..a2935337 100644 --- a/conanfile.py +++ b/conanfile.py @@ -34,7 +34,6 @@ required_conan_version = ">=2.1.0" - def get_cmake_version(): try: out, _ = subprocess.Popen(["cmake", "--version"], stdout=subprocess.PIPE, shell=False).communicate()