File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed
Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ name: Build
33on :
44 workflow_dispatch :
55 inputs :
6- minimal :
7- description : ' Build minimal defconfigs '
6+ :
7+ description : ' Optional build flavor (e.g. _minimal) '
88 required : false
9- default : true
10- type : boolean
9+ default : ' '
10+ type : string
1111 parallell :
1212 description : ' Massive parallel build of each image'
1313 required : false
2828 name :
2929 required : true
3030 type : string
31- minimal :
31+ flavor :
3232 required : false
33- type : boolean
34- default : true
33+ type : string
34+ default : ' '
3535 infix_repo :
3636 required : false
3737 type : string
3838 default : kernelkit/infix
3939
4040env :
41- MINIMAL : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.minimal || inputs.minimal }}
41+ FLV : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.flavor || inputs.flavor }}
4242 INFIX_REPO : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_repo || inputs.infix_repo }}
4343
44-
4544jobs :
4645 build :
4746 name : Build ${{ inputs.name }} ${{ inputs.target }}
@@ -81,18 +80,12 @@ jobs:
8180 | tee -a $GITHUB_OUTPUT $GITHUB_ENV
8281 fi
8382
84- if [ "${MINIMAL}" == "true" ]; then
85- flavor="_minimal"
86- else
87- flavor=""
88- fi
89-
9083 target=${{ inputs.target }}
9184 name=${{ inputs.name }}
9285 echo "dir=${name}-${target}" >> $GITHUB_OUTPUT
9386 echo "tgz=${name}-${target}.tar.gz" >> $GITHUB_OUTPUT
94- echo "flv=$flavor " >> $GITHUB_OUTPUT
95- echo "Building target ${target}${flavor }_defconfig"
87+ echo "flv=$FLV " >> $GITHUB_OUTPUT
88+ echo "Building target ${target}${FLV }_defconfig"
9689
9790 - name : Restore Cache of dl/
9891 uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments