ci/build: specify systemAsName option

This commit is contained in:
Matt Sturgeon 2025-05-26 00:05:13 +01:00
parent 73ca23dd44
commit f77ecb989a
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 6 additions and 1 deletions

View file

@ -7,6 +7,10 @@ on:
description: "json array of builds: [ { system, runner, attr } ]"
required: true
type: string
systemAsName:
required: false
type: boolean
default: false
timeout:
required: false
type: number
@ -14,7 +18,7 @@ on:
jobs:
build:
name: (${{ matrix.system }})
name: ${{ inputs.systemAsName && matrix.system || matrix.attr }}
runs-on:
- ${{ matrix.runner }}
strategy:

View file

@ -41,4 +41,5 @@ jobs:
include: ${{ fromJSON(needs.prepare.outputs.matrix) }}
secrets: inherit
with:
systemAsName: true
builds: ${{ toJSON(matrix.builds) }}