mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
.github: pass (Infix) name as workflow_call input
Signed-off-by: Richard Alpe <richard@bit42.se>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user