File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,21 @@ jobs:
15
15
runs-on : ubuntu-24.04-arm
16
16
if : github.repository == 'nix-community/nixvim'
17
17
outputs :
18
- branches : ${{ steps.list-branches.outputs.branches }}
18
+ branches : ${{ steps.list-branches.outputs.result }}
19
19
steps :
20
+ - name : Checkout version-info
21
+ uses : actions/checkout@v4
22
+ with :
23
+ sparse-checkout : version-info.toml
24
+ sparse-checkout-cone-mode : false
20
25
- name : List stable branches
21
26
id : list-branches
22
- run : |
23
- echo 'branches<<EOF
24
- [
25
- "nixos-25.05",
26
- "nixos-24.11"
27
- ]
28
- EOF' >> "$GITHUB_OUTPUT"
27
+ uses : mikefarah/yq@master
28
+ with :
29
+ cmd : |
30
+ yq --no-colors --output-format=json \
31
+ '[ .versions[].branch | select(. != "main") ]' \
32
+ version-info.toml
29
33
update :
30
34
name : Trigger update on ${{ matrix.branch }}
31
35
runs-on : ubuntu-24.04-arm
You can’t perform that action at this time.
0 commit comments