diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac47d77e..48f5cfd7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml index ff602bfe..962c70f1 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yml @@ -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