Skip to content

Commit

Permalink
ci: add matrix os in cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Dec 14, 2023
1 parent 125fd2f commit f3d71e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id: jni-cache
with:
path: "app/prebuilt"
key: jni-debug-${{ steps.cache-hash.outputs.hash }}
key: ${{ matrix.os }}-trime-jni-debug-${{ steps.cache-hash.outputs.hash }}

- name: Fetch submodules
if: ${{ !steps.jni-cache.outputs.cache-hit }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: jni-cache
with:
path: "app/prebuilt"
key: jni-debug-${{ steps.cache-hash.outputs.hash }}
key: ${{ matrix.os }}-trime-jni-debug-${{ steps.cache-hash.outputs.hash }}

- name: Fetch submodules
if: ${{ !steps.jni-cache.outputs.cache-hit }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: jni-cache
with:
path: "app/prebuilt"
key: jni-release-${{ steps.cache-hash.outputs.hash }}
key: ${{ matrix.os }}-trime-jni-debug-${{ steps.cache-hash.outputs.hash }}

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

0 comments on commit f3d71e3

Please sign in to comment.