mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
ci: stringify builds
to JSON
This commit is contained in:
parent
032237634b
commit
b147e6a6af
1 changed files with 5 additions and 2 deletions
7
.github/workflows/check.yml
vendored
7
.github/workflows/check.yml
vendored
|
@ -27,7 +27,10 @@ jobs:
|
|||
id: set-matrix
|
||||
run: |
|
||||
set -Eeu
|
||||
matrix="$(nix eval --json .#githubActions.matrix)"
|
||||
matrix=$(
|
||||
nix eval --json .#githubActions.matrix \
|
||||
--apply 'map (m: m // { builds = builtins.toJSON m.builds; })'
|
||||
)
|
||||
echo "matrix=$matrix" >> "$GITHUB_OUTPUT"
|
||||
|
||||
build:
|
||||
|
@ -40,4 +43,4 @@ jobs:
|
|||
secrets: inherit
|
||||
with:
|
||||
name: ${{ matrix.name }}
|
||||
builds: ${{ toJSON(matrix.builds) }}
|
||||
builds: ${{ matrix.builds }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue