DEV: Update `app-cache` cache key for tests workflow (#28508)
We cannot just key on `runner.os` the number of CPU cores matter as well. Therefore, we need to key on `runner.name` instead since each runner has its own unique OS and CPU cores. Technically, two different runner with different names can have the same `os` and `cpu cores` but we don't have that problem now.
This commit is contained in:
parent
1ac7482271
commit
b83a2a34a4
|
@ -163,7 +163,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: tmp/app-cache
|
path: tmp/app-cache
|
||||||
key: >-
|
key: >-
|
||||||
${{ runner.os }}-
|
${{ runner.name }}-
|
||||||
${{ hashFiles('.github/workflows/tests.yml') }}-
|
${{ hashFiles('.github/workflows/tests.yml') }}-
|
||||||
${{ hashFiles('db/**/*', 'plugins/**/db/**/*') }}-
|
${{ hashFiles('db/**/*', 'plugins/**/db/**/*') }}-
|
||||||
${{ hashFiles('config/environments/test.rb') }}-
|
${{ hashFiles('config/environments/test.rb') }}-
|
||||||
|
|
Loading…
Reference in New Issue