Skip to content

Commit ef54242

Browse files
committed
Merge pull request #2110 from pguyot/w08/fix-ci-caching-jit-issue
Fix a workflow bug where a non-jit run could use a jit cached beam These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 480c606 + 7c92b18 commit ef54242

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)