We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a6421 commit 39d7064Copy full SHA for 39d7064
1 file changed
.github/workflows/c-cpp.yml
@@ -43,7 +43,9 @@ jobs:
43
id: gen-cache-key
44
shell: bash
45
run: |
46
- echo "cache-key=${{ matrix.os }}-$(git submodule foreach --recursive git rev-parse HEAD)-${{ hashFiles('CMakeLists.txt') }}" >> $GITHUB_OUTPUT
+ git submodule foreach --recursive git rev-parse HEAD > submodule_hashes.txt
47
+ echo "cache-key=${{ matrix.os }}-${{ hashFiles('submodule_hashes.txt') }}-${{ hashFiles('CMakeLists.txt') }}" >> $GITHUB_OUTPUT
48
+ rm submodule_hashes.txt
49
50
- name: Set up CPM cache
51
id: setup-cpm-cache
0 commit comments