Skip to content

Commit 7c92b18

Browse files
committed
Fix a workflow bug where a non-jit run could use a jit cached beam
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
1 parent 480c606 commit 7c92b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ jobs:
602602
id: cache
603603
with:
604604
path: 'build/tests/**/*.beam'
605-
key: ${{ matrix.otp }}-${{ hashFiles('**/build-and-test.yaml', 'tests/**/*.erl', 'tests/**/*.hrl', 'tests/**/*.ex') }}-${{ matrix.jit_target_arch }}
605+
key: ${{ matrix.otp }}-${{ hashFiles('**/build-and-test.yaml', 'tests/**/*.erl', 'tests/**/*.hrl', 'tests/**/*.ex') }}-${{ matrix.jit_target_arch || 'nojit' }}
606606

607607
- name: "Build: run cmake"
608608
working-directory: build

0 commit comments

Comments
 (0)