File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,29 @@ permissions:
10
10
actions : write
11
11
12
12
jobs :
13
+ prepare :
14
+ name : Compute list of branches
15
+ runs-on : ubuntu-24.04-arm
16
+ if : github.repository == 'nix-community/nixvim'
17
+ outputs :
18
+ branches : ${{ steps.list-branches.outputs.branches }}
19
+ steps :
20
+ - name : List stable branches
21
+ id : list-branches
22
+ run : |
23
+ echo 'branches<<EOF
24
+ [
25
+ "nixos-25.05",
26
+ "nixos-24.11"
27
+ ]
28
+ EOF' >> "$GITHUB_OUTPUT"
13
29
update :
14
30
name : Trigger update on ${{ matrix.branch }}
15
31
runs-on : ubuntu-24.04-arm
16
- if : github.repository == 'nix-community/nixvim'
32
+ needs : prepare
17
33
strategy :
18
34
matrix :
19
- branch :
20
- - nixos-25.05
21
- - nixos-24.11
35
+ branch : ${{ fromJSON(needs.prepare.outputs.branches) }}
22
36
steps :
23
37
- name : workflow dispatch
24
38
env :
You can’t perform that action at this time.
0 commit comments