mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
ci/build: specify systemAsName
option
This commit is contained in:
parent
73ca23dd44
commit
f77ecb989a
2 changed files with 6 additions and 1 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -7,6 +7,10 @@ on:
|
||||||
description: "json array of builds: [ { system, runner, attr } ]"
|
description: "json array of builds: [ { system, runner, attr } ]"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
systemAsName:
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
timeout:
|
timeout:
|
||||||
required: false
|
required: false
|
||||||
type: number
|
type: number
|
||||||
|
@ -14,7 +18,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: (${{ matrix.system }})
|
name: ${{ inputs.systemAsName && matrix.system || matrix.attr }}
|
||||||
runs-on:
|
runs-on:
|
||||||
- ${{ matrix.runner }}
|
- ${{ matrix.runner }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|
1
.github/workflows/check.yml
vendored
1
.github/workflows/check.yml
vendored
|
@ -41,4 +41,5 @@ jobs:
|
||||||
include: ${{ fromJSON(needs.prepare.outputs.matrix) }}
|
include: ${{ fromJSON(needs.prepare.outputs.matrix) }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
|
systemAsName: true
|
||||||
builds: ${{ toJSON(matrix.builds) }}
|
builds: ${{ toJSON(matrix.builds) }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue