mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
Update Actions outputs 👷
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
parent
94a441c9e2
commit
7073e660ed
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: List packages
|
||||
id: list-packages
|
||||
run: |
|
||||
nix flake show . --json | jq -rc '{checks: (.checks // {}), packages: (.packages // {})} | to_entries | map(.key as $type | .value | to_entries | map(select(.key == "x86_64-linux") | .value | to_entries | map({type: $type, key: .key})) | flatten) | flatten | "::set-output name=packages::\(.)"'
|
||||
nix flake show . --json | jq -rc '{checks: (.checks // {}), packages: (.packages // {})} | to_entries | map(.key as $type | .value | to_entries | map(select(.key == "x86_64-linux") | .value | to_entries | map({type: $type, key: .key})) | flatten) | flatten | "packages=\(.)"' >> $GITHUB_OUTPUT
|
||||
|
||||
outputs:
|
||||
packages: ${{ steps.list-packages.outputs.packages }}
|
||||
|
|
Loading…
Reference in a new issue