File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,18 @@ concurrency:
38
38
run-name : ${{ inputs.node_tag || inputs.signer_tag }}
39
39
40
40
jobs :
41
+ andon-cord :
42
+ if : |
43
+ inputs.node_tag != '' ||
44
+ inputs.signer_tag != ''
45
+ name : Build Binaries
46
+ runs-on : ubuntu-latest
47
+ environment : " Build Release"
48
+ steps :
49
+ - name : Check Approval
50
+ id : check
51
+ run : |
52
+ return true
41
53
# # Build arch dependent binaries from source
42
54
# #
43
55
# # Runs when the following is true:
48
60
inputs.signer_tag != ''
49
61
name : Build Binaries
50
62
runs-on : ubuntu-latest
51
- environment : " Build Release"
63
+ needs :
64
+ - andon-cord
52
65
strategy :
53
66
# # Run a maximum of 10 builds concurrently, using the matrix defined in inputs.arch
54
67
max-parallel : 10
91
104
name : Create Release
92
105
runs-on : ubuntu-latest
93
106
needs :
107
+ - andon-cord
94
108
- build-binaries
95
109
permissions :
96
110
contents : write
@@ -107,7 +121,6 @@ jobs:
107
121
is_signer_release : ${{ inputs.is_signer_release }}
108
122
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
109
123
110
-
111
124
# # Builds arch dependent Docker images from binaries
112
125
# #
113
126
# # Note: this step requires the binaries in the create-release step to be uploaded
@@ -120,6 +133,7 @@ jobs:
120
133
name : Docker Image (Binary)
121
134
runs-on : ubuntu-latest
122
135
needs :
136
+ - andon-cord
123
137
- build-binaries
124
138
- create-release
125
139
strategy :
@@ -152,6 +166,7 @@ jobs:
152
166
name : Create Downstream PR (${{ github.ref_name }})
153
167
runs-on : ubuntu-latest
154
168
needs :
169
+ - andon-cord
155
170
- build-binaries
156
171
- create-release
157
172
- docker-image
Original file line number Diff line number Diff line change 21
21
image :
22
22
name : Build Image
23
23
runs-on : ubuntu-latest
24
+ environment : " Push to Docker"
24
25
steps :
25
26
# # Setup Docker for the builds
26
27
- name : Docker setup
You can’t perform that action at this time.
0 commit comments