Skip to content

Commit f3d71e3

Browse files
committed
ci: add matrix os in cache key
1 parent 125fd2f commit f3d71e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/commit-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
id: jni-cache
3636
with:
3737
path: "app/prebuilt"
38-
key: jni-debug-${{ steps.cache-hash.outputs.hash }}
38+
key: ${{ matrix.os }}-trime-jni-debug-${{ steps.cache-hash.outputs.hash }}
3939

4040
- name: Fetch submodules
4141
if: ${{ !steps.jni-cache.outputs.cache-hit }}

.github/workflows/pull-request-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
id: jni-cache
4343
with:
4444
path: "app/prebuilt"
45-
key: jni-debug-${{ steps.cache-hash.outputs.hash }}
45+
key: ${{ matrix.os }}-trime-jni-debug-${{ steps.cache-hash.outputs.hash }}
4646

4747
- name: Fetch submodules
4848
if: ${{ !steps.jni-cache.outputs.cache-hit }}

.github/workflows/release-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
id: jni-cache
3030
with:
3131
path: "app/prebuilt"
32-
key: jni-release-${{ steps.cache-hash.outputs.hash }}
32+
key: ${{ matrix.os }}-trime-jni-debug-${{ steps.cache-hash.outputs.hash }}
3333

3434
- name: Fetch submodules
3535
if: ${{ !steps.jni-cache.outputs.cache-hit }}

0 commit comments

Comments
 (0)