diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index 949457e..105a0af 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -27,10 +27,12 @@ jobs: steps: - type: SetupCacheStep name: conan-cache - key: conan-cache-@file:conanfile.txt@ + key: conan-cache-@file:./conanfile.txt@ + loadKeys: + - conan-{{ build.target }} paths: - /root/.conan2 - uploadStrategy: UPLOAD_IF_CHANGED + uploadStrategy: UPLOAD_IF_NOT_HIT changeDetectionExcludes: /root/.conan2/p/*/dl /root/.conan2/logs condition: SUCCESSFUL optional: true