Skip to content

Commit 5fc1ec9

Browse files
committed
[ci][rb] Add matrix.os to cache-key for filesystem consistency
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
1 parent 95e4319 commit 5fc1ec9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci-ruby.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
os: ubuntu
5454
with:
5555
name: Unit Tests (${{ matrix.ruby-version }}, ${{ matrix.os }})
56-
cache-key: rb-unit-test-${{ matrix.ruby-version }}
56+
cache-key: rb-unit-test-${{ matrix.ruby-version }}-${{ matrix.os }}
5757
os: ${{ matrix.os }}
5858
ruby-version: ${{ matrix.ruby-version }}
5959
run: >
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
name: Local Tests (${{ matrix.browser }}, ${{ matrix.os }})
8585
browser: ${{ matrix.browser }}
86-
cache-key: rb-${{ matrix.browser }}-test
86+
cache-key: rb-${{ matrix.browser }}-${{ matrix.os }}-test
8787
os: ${{ matrix.os }}
8888
run: >
8989
bazel test
@@ -109,7 +109,7 @@ jobs:
109109
with:
110110
name: Remote Tests (${{ matrix.browser }}, ${{ matrix.os }})
111111
browser: ${{ matrix.browser }}
112-
cache-key: rb-remote-${{ matrix.browser }}-test
112+
cache-key: rb-remote-${{ matrix.browser }}-${{ matrix.os }}-test
113113
os: ${{ matrix.os }}
114114
java-version: 11
115115
run: >

0 commit comments

Comments
 (0)