.github: pass (Infix) name as workflow_call input

Signed-off-by: Richard Alpe <richard@bit42.se>
This commit is contained in:
Richard Alpe
2025-07-07 09:52:57 +02:00
parent 1dc84af095
commit efd6cce842
2 changed files with 10 additions and 4 deletions
+8 -4
View File
@@ -1,4 +1,4 @@
name: Build Infix
name: Build
on:
workflow_dispatch:
@@ -19,9 +19,12 @@ on:
target:
required: true
type: string
name:
required: true
type: string
jobs:
build:
name: Build Infix ${{ inputs.target }}
name: Build ${{ inputs.name }} ${{ inputs.target }}
runs-on: [ self-hosted, latest ]
strategy:
fail-fast: false
@@ -70,8 +73,9 @@ jobs:
fi
fi
target=${{ inputs.target }}
echo "dir=infix-$target" >> $GITHUB_OUTPUT
echo "tgz=infix-$target.tar.gz" >> $GITHUB_OUTPUT
name=${{ inputs.name }}
echo "dir=${name}-${target}" >> $GITHUB_OUTPUT
echo "tgz=${name}-${target}.tar.gz" >> $GITHUB_OUTPUT
echo "flv=$flavor" >> $GITHUB_OUTPUT
echo "Building target ${target}${flavor}_defconfig"
+2
View File
@@ -14,11 +14,13 @@ jobs:
uses: ./.github/workflows/build.yml
with:
target: x86_64
name: infix
build-aarch64:
uses: ./.github/workflows/build.yml
with:
target: aarch64
name: infix
test-run-x86_64:
needs: build-x86_64