We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1da16dc commit 634d2f6Copy full SHA for 634d2f6
.github/workflows/build.yml
@@ -60,11 +60,11 @@ jobs:
60
{ os: osList, name: ['head'] }
61
)
62
core.setOutput('build_matrix', buildMatrix)
63
- const reuseMatrix = JSON.stringify({
64
- os: osList,
65
- name: ['debug'],
66
- include: [{ os: 'ubuntu-24.04', name: 'asan' }]
67
- })
+ const reuseMatrix = JSON.stringify(
+ skipSlow === 'false' ?
+ { os: ['ubuntu-latest'], name: ['noop'] } : // GitHub doesn't like having an empty matrix, skips jobs that depend on reuse-slow
+ { os: osList, name: ['debug'], include: [{ os: 'ubuntu-24.04', name: 'asan' }] }
+ )
68
core.setOutput('reuse_matrix', reuseMatrix)
69
console.log(`build_matrix: ${buildMatrix}, reuse_matrix: ${reuseMatrix}`)
70
0 commit comments