Skip to content

Commit

Permalink
Correct save/restore actions (#338)
Browse files Browse the repository at this point in the history
* Correct save/restore actions

* Run pre-commit

* Force cache update
  • Loading branch information
Twon authored Oct 27, 2024
1 parent ed669d0 commit f158b6a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*/*:*"
4 changes: 3 additions & 1 deletion .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*/*:*"
4 changes: 3 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*/*:*"
1 change: 0 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f158b6a

Please sign in to comment.