Skip to content

Commit f77ecb9

Browse files
committed
ci/build: specify systemAsName option
1 parent 73ca23d commit f77ecb9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ on:
77
description: "json array of builds: [ { system, runner, attr } ]"
88
required: true
99
type: string
10+
systemAsName:
11+
required: false
12+
type: boolean
13+
default: false
1014
timeout:
1115
required: false
1216
type: number
1317
default: 60
1418

1519
jobs:
1620
build:
17-
name: (${{ matrix.system }})
21+
name: ${{ inputs.systemAsName && matrix.system || matrix.attr }}
1822
runs-on:
1923
- ${{ matrix.runner }}
2024
strategy:

.github/workflows/check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ jobs:
4141
include: ${{ fromJSON(needs.prepare.outputs.matrix) }}
4242
secrets: inherit
4343
with:
44+
systemAsName: true
4445
builds: ${{ toJSON(matrix.builds) }}

0 commit comments

Comments
 (0)