Skip to content

Commit 46503a8

Browse files
committed
Simplify needs in GitHub Actions case of only 1 need
1 parent d1e6d3b commit 46503a8

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/docker.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
platform: aarch64
9191
runs-on: ubuntu-24.04-arm
9292
timeout-minutes: 15
93-
needs: [aarch64-foundation]
93+
needs: aarch64-foundation
9494

9595
x86_64-base:
9696
uses: ./.github/workflows/docker-build-test-upload.yml
@@ -100,7 +100,7 @@ jobs:
100100
platform: x86_64
101101
runs-on: ubuntu-24.04
102102
timeout-minutes: 15
103-
needs: [x86_64-foundation]
103+
needs: x86_64-foundation
104104

105105
aarch64-minimal:
106106
uses: ./.github/workflows/docker-build-test-upload.yml
@@ -110,7 +110,7 @@ jobs:
110110
platform: aarch64
111111
runs-on: ubuntu-24.04-arm
112112
timeout-minutes: 15
113-
needs: [aarch64-base]
113+
needs: aarch64-base
114114
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
115115

116116
x86_64-minimal:
@@ -121,7 +121,7 @@ jobs:
121121
platform: x86_64
122122
runs-on: ubuntu-24.04
123123
timeout-minutes: 15
124-
needs: [x86_64-base]
124+
needs: x86_64-base
125125
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
126126

127127
aarch64-scipy:
@@ -132,7 +132,7 @@ jobs:
132132
platform: aarch64
133133
runs-on: ubuntu-24.04-arm
134134
timeout-minutes: 15
135-
needs: [aarch64-minimal]
135+
needs: aarch64-minimal
136136
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
137137

138138
x86_64-scipy:
@@ -143,7 +143,7 @@ jobs:
143143
platform: x86_64
144144
runs-on: ubuntu-24.04
145145
timeout-minutes: 15
146-
needs: [x86_64-minimal]
146+
needs: x86_64-minimal
147147
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
148148

149149
aarch64-r:
@@ -154,7 +154,7 @@ jobs:
154154
platform: aarch64
155155
runs-on: ubuntu-24.04-arm
156156
timeout-minutes: 15
157-
needs: [aarch64-minimal]
157+
needs: aarch64-minimal
158158
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
159159

160160
x86_64-r:
@@ -165,7 +165,7 @@ jobs:
165165
platform: x86_64
166166
runs-on: ubuntu-24.04
167167
timeout-minutes: 15
168-
needs: [x86_64-minimal]
168+
needs: x86_64-minimal
169169
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
170170

171171
aarch64-julia:
@@ -177,7 +177,7 @@ jobs:
177177
runs-on: ubuntu-24.04-arm
178178
# This workflow sometimes takes quite long to build
179179
timeout-minutes: 30
180-
needs: [aarch64-minimal]
180+
needs: aarch64-minimal
181181
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
182182

183183
x86_64-julia:
@@ -188,7 +188,7 @@ jobs:
188188
platform: x86_64
189189
runs-on: ubuntu-24.04
190190
timeout-minutes: 20
191-
needs: [x86_64-minimal]
191+
needs: x86_64-minimal
192192
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
193193

194194
aarch64-tensorflow:
@@ -199,7 +199,7 @@ jobs:
199199
platform: aarch64
200200
runs-on: ubuntu-24.04-arm
201201
timeout-minutes: 15
202-
needs: [aarch64-scipy]
202+
needs: aarch64-scipy
203203
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
204204

205205
x86_64-tensorflow:
@@ -210,7 +210,7 @@ jobs:
210210
platform: x86_64
211211
runs-on: ubuntu-24.04
212212
timeout-minutes: 15
213-
needs: [x86_64-scipy]
213+
needs: x86_64-scipy
214214
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
215215

216216
x86_64-tensorflow-cuda:
@@ -222,7 +222,7 @@ jobs:
222222
platform: x86_64
223223
runs-on: ubuntu-24.04
224224
timeout-minutes: 20
225-
needs: [x86_64-scipy]
225+
needs: x86_64-scipy
226226
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
227227

228228
aarch64-pytorch:
@@ -233,7 +233,7 @@ jobs:
233233
platform: aarch64
234234
runs-on: ubuntu-24.04-arm
235235
timeout-minutes: 20
236-
needs: [aarch64-scipy]
236+
needs: aarch64-scipy
237237
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
238238

239239
x86_64-pytorch:
@@ -244,7 +244,7 @@ jobs:
244244
platform: x86_64
245245
runs-on: ubuntu-24.04
246246
timeout-minutes: 20
247-
needs: [x86_64-scipy]
247+
needs: x86_64-scipy
248248
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
249249

250250
x86_64-pytorch-cuda11:
@@ -256,7 +256,7 @@ jobs:
256256
platform: x86_64
257257
runs-on: ubuntu-24.04
258258
timeout-minutes: 20
259-
needs: [x86_64-scipy]
259+
needs: x86_64-scipy
260260
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
261261

262262
x86_64-pytorch-cuda12:
@@ -268,7 +268,7 @@ jobs:
268268
platform: x86_64
269269
runs-on: ubuntu-24.04
270270
timeout-minutes: 20
271-
needs: [x86_64-scipy]
271+
needs: x86_64-scipy
272272
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
273273

274274
aarch64-datascience:
@@ -280,7 +280,7 @@ jobs:
280280
runs-on: ubuntu-24.04-arm
281281
# This workflow sometimes takes quite long to build
282282
timeout-minutes: 30
283-
needs: [aarch64-scipy]
283+
needs: aarch64-scipy
284284
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
285285

286286
x86_64-datascience:
@@ -291,7 +291,7 @@ jobs:
291291
platform: x86_64
292292
runs-on: ubuntu-24.04
293293
timeout-minutes: 25
294-
needs: [x86_64-scipy]
294+
needs: x86_64-scipy
295295
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
296296

297297
aarch64-pyspark:
@@ -302,7 +302,7 @@ jobs:
302302
platform: aarch64
303303
runs-on: ubuntu-24.04-arm
304304
timeout-minutes: 20
305-
needs: [aarch64-scipy]
305+
needs: aarch64-scipy
306306
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
307307

308308
x86_64-pyspark:
@@ -313,7 +313,7 @@ jobs:
313313
platform: x86_64
314314
runs-on: ubuntu-24.04
315315
timeout-minutes: 15
316-
needs: [x86_64-scipy]
316+
needs: x86_64-scipy
317317
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
318318

319319
aarch64-all-spark:
@@ -324,7 +324,7 @@ jobs:
324324
platform: aarch64
325325
runs-on: ubuntu-24.04-arm
326326
timeout-minutes: 20
327-
needs: [aarch64-pyspark]
327+
needs: aarch64-pyspark
328328
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
329329

330330
x86_64-all-spark:
@@ -335,7 +335,7 @@ jobs:
335335
platform: x86_64
336336
runs-on: ubuntu-24.04
337337
timeout-minutes: 15
338-
needs: [x86_64-pyspark]
338+
needs: x86_64-pyspark
339339
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
340340

341341
tag-push:
@@ -418,14 +418,14 @@ jobs:
418418

419419
wiki-update:
420420
uses: ./.github/workflows/docker-wiki-update.yml
421-
needs: [tag-push]
421+
needs: tag-push
422422
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
423423
permissions:
424424
contents: write
425425

426426
wiki-update-fast:
427427
uses: ./.github/workflows/docker-wiki-update.yml
428-
needs: [tag-push-fast]
428+
needs: tag-push-fast
429429
if: contains(github.event.pull_request.title, '[FAST_BUILD]')
430430

431431
contributed-recipes:

0 commit comments

Comments
 (0)