Skip to content

Commit

Permalink
Fix cache miss.
Browse files Browse the repository at this point in the history
  • Loading branch information
taalexander committed Jan 3, 2024
1 parent 95d4910 commit f07f205
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ jobs:
# we will need to build packages (and if on main flush the cache)
- name : Conan deps cached
id: check_conan_cache
working-directory: build
run: |
export CONAN_LLVM_GIT_CACHE="${{ runner.temp }}/llvm-project"
conan install .. -pr:h default -pr:b default
echo "cache-miss=$($?)" >> $GITHUB_OUTPUT
- name : Print cache hit/miss
run: |
echo "Cache was missed: ${{ steps.check_conan_cache.outputs.cache-miss }}"
export cache-miss=$($?)
echo "cache-miss=$cache-miss" >> $GITHUB_OUTPUT
echo "Cache was missed: $cache-miss"
- name: Create Conan default profile
run: |
conan profile new default --detect || true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
# we will need to build packages (and if on main flush the cache)
- name : Conan deps cached
id: check_conan_cache
working-directory: build
run: |
export CONAN_LLVM_GIT_CACHE="${{ runner.temp }}/llvm-project"
conan install .. -pr:h default -pr:b default
Expand Down

0 comments on commit f07f205

Please sign in to comment.