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 } ]"
|
||||
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:
|
||||
|
|
1
.github/workflows/check.yml
vendored
1
.github/workflows/check.yml
vendored
|
@ -41,4 +41,5 @@ jobs:
|
|||
include: ${{ fromJSON(needs.prepare.outputs.matrix) }}
|
||||
secrets: inherit
|
||||
with:
|
||||
systemAsName: true
|
||||
builds: ${{ toJSON(matrix.builds) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue