Skip to content

Commit 75e4ae8

Browse files
committed
Fix cache key for non-Darwin tools platform
1 parent 46d8a05 commit 75e4ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cpp-packaging.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
uses: actions/cache@v3
128128
with:
129129
path: llvm-src/llvm/build/bin
130-
key: llvm-bin-${{matrix.tools_platform}}-${{env.xcodeVersion}}-${{env.llvmVer}}
130+
key: llvm-bin-${{matrix.tools_platform}}${{matrix.tools_platform == 'darwin' && join(['-', env.xcodeVersion]) || ''}}-${{env.llvmVer}}
131131

132132
- name: Fetch LLVM source
133133
# Only fetch LLVM if we don't already have binaries from the cache.

0 commit comments

Comments
 (0)