Skip to content

Commit b75f6f7

Browse files
committed
Use always() to decouple independent jobs that are sequenced to
avoid wasting cycles.
1 parent f3f88c2 commit b75f6f7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/rtpproxy_ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
FullBuild:
112112
name: Full Build
113113
needs: [LoadJobs_conf, MinBuild]
114-
if: needs.LoadJobs_conf.outputs.do_FullBuild == 'true'
114+
if: always() && needs.LoadJobs_conf.outputs.do_FullBuild == 'true'
115115
# The type of runner that the job will run on
116116
runs-on: ubuntu-${{ matrix.os }}
117117
env:
@@ -184,7 +184,7 @@ jobs:
184184
FuncTest:
185185
name: Functional Testing
186186
needs: [LoadJobs_conf, FullBuild]
187-
if: needs.LoadJobs_conf.outputs.do_FuncTest == 'true'
187+
if: always() && needs.LoadJobs_conf.outputs.do_FuncTest == 'true'
188188
# The type of runner that the job will run on
189189
runs-on: ubuntu-${{ matrix.os }}
190190
env:
@@ -257,7 +257,7 @@ jobs:
257257
Glitching:
258258
name: Glitch Injection
259259
needs: [LoadJobs_conf, FuncTest]
260-
if: needs.LoadJobs_conf.outputs.do_Glitch == 'true'
260+
if: always() && needs.LoadJobs_conf.outputs.do_Glitch == 'true'
261261
# The type of runner that the job will run on
262262
runs-on: ubuntu-${{ matrix.os }}
263263
env:
@@ -330,7 +330,7 @@ jobs:
330330
Fuzzing:
331331
name: Fuzz with OSS-Fuzz
332332
needs: [LoadJobs_conf, Glitching]
333-
if: needs.LoadJobs_conf.outputs.do_Fuzzing == 'true'
333+
if: always() && needs.LoadJobs_conf.outputs.do_Fuzzing == 'true'
334334
runs-on: ubuntu-latest
335335
permissions:
336336
security-events: write
@@ -379,7 +379,7 @@ jobs:
379379
Docker:
380380
name: Build&Push to DockerHub
381381
needs: [LoadJobs_conf, Fuzzing]
382-
if: needs.LoadJobs_conf.outputs.do_Docker == 'true' &&
382+
if: always() && needs.LoadJobs_conf.outputs.do_Docker == 'true' &&
383383
(github.event_name == 'push' || github.event_name == 'pull_request')
384384
runs-on: ubuntu-latest
385385
permissions:

0 commit comments

Comments
 (0)