File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 33
33
- uses : googleapis/release-please-action@v4
34
34
id : release
35
35
36
+ draft :
37
+ name : draft
38
+ needs : release
39
+ runs-on : ubuntu-latest
40
+ steps :
41
+ - run : gh release edit ${{ needs.release.outputs.tag_name }} --draft=true --repo='elixir-tools/next-ls'
42
+
36
43
build :
37
- needs : [release]
44
+ needs : [release, draft ]
38
45
runs-on : macos-14
39
46
if : ${{ needs.release.outputs.release_created }}
40
47
env :
67
74
68
75
nix-build :
69
76
name : build nix flakes and push to cachix
70
- needs : [release]
77
+ needs : [release, draft ]
71
78
if : ${{ needs.release.outputs.release_created }}
72
79
strategy :
73
80
matrix :
@@ -87,15 +94,15 @@ jobs:
87
94
88
95
publish :
89
96
name : publish
90
- needs : [release, build]
97
+ needs : [release, draft, build]
91
98
runs-on : ubuntu-latest
92
99
env :
93
100
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
94
101
steps :
95
102
- run : gh release edit ${{ needs.release.outputs.tag_name }} --draft=false --repo='elixir-tools/next-ls'
96
103
97
104
homebrew :
98
- needs : [release, publish]
105
+ needs : [release, draft, publish]
99
106
runs-on : ubuntu-latest
100
107
steps :
101
108
- name : Bump Homebrew formula
Original file line number Diff line number Diff line change 6
6
"release-type" : " elixir" ,
7
7
"bump-minor-pre-major" : true ,
8
8
"include-component-in-tag" : false ,
9
- "draft" : true ,
10
9
"extra-files" : [
11
10
" package.nix"
12
11
]
You can’t perform that action at this time.
0 commit comments