Skip to content

Commit 989b734

Browse files
committed
hack: debug workflow call settings
1 parent 33c95e8 commit 989b734

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on:
3535
flavor:
3636
required: false
3737
type: string
38-
default: ''
38+
default: 'BLA'
3939
infix_repo:
4040
required: false
4141
type: string

.github/workflows/trigger.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,25 @@ on:
99
- ci-workflow-redesign
1010
workflow_dispatch:
1111

12+
env:
13+
FLAVOR: "Foobar"
14+
1215
jobs:
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: "_minimal"
22+
flavor: ${{ env.FLAVOR }}
2023

2124
build-aarch64:
2225
if: startsWith(github.repository, 'kernelkit/')
2326
uses: ./.github/workflows/build.yml
2427
with:
2528
target: "aarch64"
2629
name: "infix"
27-
flavor: "_minimal"
30+
flavor: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main')) && 'default' || '_minimal' }}
2831

2932
test-run-x86_64:
3033
if: startsWith(github.repository, 'kernelkit/')

0 commit comments

Comments
 (0)