File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 99 - ci-workflow-redesign
1010 workflow_dispatch :
1111
12+ env :
13+ BUILD_FLAVOR : ${{ ((github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main')) || (github.event_name == 'push' && github.ref_name == 'main')) && '' || '_minimal' }}
14+
1215jobs :
1316 build-x86_64 :
1417 if : startsWith(github.repository, 'kernelkit/')
1518 uses : ./.github/workflows/build.yml
1619 with :
1720 target : " x86_64"
1821 name : " infix"
19- flavor : ${{ (
20- (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main'))
21- || (github.event_name == 'push' && github.ref_name == 'main')
22- ) && fromJSON('null') || '_minimal' }}
22+ flavor : ${{ env.BUILD_FLAVOR }}
2323
2424 build-aarch64 :
2525 if : startsWith(github.repository, 'kernelkit/')
2626 uses : ./.github/workflows/build.yml
2727 with :
2828 target : " aarch64"
2929 name : " infix"
30- flavor : ${{ (
31- (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main'))
32- || (github.event_name == 'push' && github.ref_name == 'main')
33- ) && fromJSON('null') || '_minimal' }}
30+ flavor : ${{ env.BUILD_FLAVOR }}
3431
3532 test-run-x86_64 :
3633 if : startsWith(github.repository, 'kernelkit/')
You can’t perform that action at this time.
0 commit comments