@@ -29,8 +29,8 @@ permissions:
2929
3030# Each job is split so that they roughly take 30min to run through.
3131jobs :
32- compile1 :
33- name : ' omnibus compilations, #1 '
32+ compile-if :
33+ name : ' omnibus condition '
3434 runs-on : ubuntu-latest
3535 if : >-
3636 ${{!(false
4141 || contains(github.event.pull_request.labels.*.name, 'Documentation')
4242 || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
4343 )}}
44+ steps :
45+ - run : true
46+ working-directory :
47+
48+ compile1 :
49+ name : ' omnibus compilations, #1'
50+ runs-on : ubuntu-latest
51+ needs : compile-if
52+ if : ${{ needs.compile-if.result == 'success' }}
4453 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
4554 steps :
4655 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
6473 compile2 :
6574 name : ' omnibus compilations, #2'
6675 runs-on : ubuntu-latest
67- if : >-
68- ${{!(false
69- || contains(github.event.head_commit.message, '[DOC]')
70- || contains(github.event.head_commit.message, 'Document')
71- || contains(github.event.pull_request.title, '[DOC]')
72- || contains(github.event.pull_request.title, 'Document')
73- || contains(github.event.pull_request.labels.*.name, 'Documentation')
74- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
75- )}}
76+ needs : compile-if
77+ if : ${{ needs.compile-if.result == 'success' }}
7678 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
7779 steps :
7880 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
8991 compile3 :
9092 name : ' omnibus compilations, #3'
9193 runs-on : ubuntu-latest
92- if : >-
93- ${{!(false
94- || contains(github.event.head_commit.message, '[DOC]')
95- || contains(github.event.head_commit.message, 'Document')
96- || contains(github.event.pull_request.title, '[DOC]')
97- || contains(github.event.pull_request.title, 'Document')
98- || contains(github.event.pull_request.labels.*.name, 'Documentation')
99- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
100- )}}
94+ needs : compile-if
95+ if : ${{ needs.compile-if.result == 'success' }}
10196 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
10297 steps :
10398 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -116,15 +111,8 @@ jobs:
116111 compile4 :
117112 name : ' omnibus compilations, #4'
118113 runs-on : ubuntu-latest
119- if : >-
120- ${{!(false
121- || contains(github.event.head_commit.message, '[DOC]')
122- || contains(github.event.head_commit.message, 'Document')
123- || contains(github.event.pull_request.title, '[DOC]')
124- || contains(github.event.pull_request.title, 'Document')
125- || contains(github.event.pull_request.labels.*.name, 'Documentation')
126- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
127- )}}
114+ needs : compile-if
115+ if : ${{ needs.compile-if.result == 'success' }}
128116 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
129117 steps :
130118 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -142,15 +130,8 @@ jobs:
142130 compile5 :
143131 name : ' omnibus compilations, #5'
144132 runs-on : ubuntu-latest
145- if : >-
146- ${{!(false
147- || contains(github.event.head_commit.message, '[DOC]')
148- || contains(github.event.head_commit.message, 'Document')
149- || contains(github.event.pull_request.title, '[DOC]')
150- || contains(github.event.pull_request.title, 'Document')
151- || contains(github.event.pull_request.labels.*.name, 'Documentation')
152- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
153- )}}
133+ needs : compile-if
134+ if : ${{ needs.compile-if.result == 'success' }}
154135 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
155136 steps :
156137 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -177,15 +158,8 @@ jobs:
177158 compile6 :
178159 name : ' omnibus compilations, #6'
179160 runs-on : ubuntu-latest
180- if : >-
181- ${{!(false
182- || contains(github.event.head_commit.message, '[DOC]')
183- || contains(github.event.head_commit.message, 'Document')
184- || contains(github.event.pull_request.title, '[DOC]')
185- || contains(github.event.pull_request.title, 'Document')
186- || contains(github.event.pull_request.labels.*.name, 'Documentation')
187- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
188- )}}
161+ needs : compile-if
162+ if : ${{ needs.compile-if.result == 'success' }}
189163 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
190164 steps :
191165 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -202,15 +176,8 @@ jobs:
202176 compile7 :
203177 name : ' omnibus compilations, #7'
204178 runs-on : ubuntu-latest
205- if : >-
206- ${{!(false
207- || contains(github.event.head_commit.message, '[DOC]')
208- || contains(github.event.head_commit.message, 'Document')
209- || contains(github.event.pull_request.title, '[DOC]')
210- || contains(github.event.pull_request.title, 'Document')
211- || contains(github.event.pull_request.labels.*.name, 'Documentation')
212- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
213- )}}
179+ needs : compile-if
180+ if : ${{ needs.compile-if.result == 'success' }}
214181 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
215182 steps :
216183 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -228,15 +195,8 @@ jobs:
228195 compile8 :
229196 name : ' omnibus compilations, #8'
230197 runs-on : ubuntu-latest
231- if : >-
232- ${{!(false
233- || contains(github.event.head_commit.message, '[DOC]')
234- || contains(github.event.head_commit.message, 'Document')
235- || contains(github.event.pull_request.title, '[DOC]')
236- || contains(github.event.pull_request.title, 'Document')
237- || contains(github.event.pull_request.labels.*.name, 'Documentation')
238- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
239- )}}
198+ needs : compile-if
199+ if : ${{ needs.compile-if.result == 'success' }}
240200 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
241201 steps :
242202 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -256,15 +216,8 @@ jobs:
256216 compile9 :
257217 name : ' omnibus compilations, #9'
258218 runs-on : ubuntu-latest
259- if : >-
260- ${{!(false
261- || contains(github.event.head_commit.message, '[DOC]')
262- || contains(github.event.head_commit.message, 'Document')
263- || contains(github.event.pull_request.title, '[DOC]')
264- || contains(github.event.pull_request.title, 'Document')
265- || contains(github.event.pull_request.labels.*.name, 'Documentation')
266- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
267- )}}
219+ needs : compile-if
220+ if : ${{ needs.compile-if.result == 'success' }}
268221 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
269222 steps :
270223 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -283,15 +236,8 @@ jobs:
283236 compileX :
284237 name : ' omnibus compilations, #10'
285238 runs-on : ubuntu-latest
286- if : >-
287- ${{!(false
288- || contains(github.event.head_commit.message, '[DOC]')
289- || contains(github.event.head_commit.message, 'Document')
290- || contains(github.event.pull_request.title, '[DOC]')
291- || contains(github.event.pull_request.title, 'Document')
292- || contains(github.event.pull_request.labels.*.name, 'Documentation')
293- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
294- )}}
239+ needs : compile-if
240+ if : ${{ needs.compile-if.result == 'success' }}
295241 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
296242 steps :
297243 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -309,15 +255,8 @@ jobs:
309255 compileB :
310256 name : ' omnibus compilations, #11'
311257 runs-on : ubuntu-latest
312- if : >-
313- ${{!(false
314- || contains(github.event.head_commit.message, '[DOC]')
315- || contains(github.event.head_commit.message, 'Document')
316- || contains(github.event.pull_request.title, '[DOC]')
317- || contains(github.event.pull_request.title, 'Document')
318- || contains(github.event.pull_request.labels.*.name, 'Documentation')
319- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
320- )}}
258+ needs : compile-if
259+ if : ${{ needs.compile-if.result == 'success' }}
321260 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
322261 steps :
323262 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -335,15 +274,8 @@ jobs:
335274 compileC :
336275 name : ' omnibus compilations, #12'
337276 runs-on : ubuntu-latest
338- if : >-
339- ${{!(false
340- || contains(github.event.head_commit.message, '[DOC]')
341- || contains(github.event.head_commit.message, 'Document')
342- || contains(github.event.pull_request.title, '[DOC]')
343- || contains(github.event.pull_request.title, 'Document')
344- || contains(github.event.pull_request.labels.*.name, 'Documentation')
345- || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]')
346- )}}
277+ needs : compile-if
278+ if : ${{ needs.compile-if.result == 'success' }}
347279 services : { docuum: { image: 'stephanmisc/docuum', options: '--init', volumes: [ '/root', '/var/run/docker.sock:/var/run/docker.sock' ] } }
348280 steps :
349281 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
0 commit comments