8686
8787 # Docs Only Jobs
8888 docs-only :
89- needs : checkout-linux
89+ needs : [setup, checkout-linux]
9090 if : ${{ needs.setup.outputs.docs-only == 'true' }}
9191 uses : ./.github/workflows/pipeline-electron-docs-only.yml
9292 with :
@@ -124,7 +124,7 @@ jobs:
124124
125125 checkout-linux :
126126 needs : setup
127- if : ${{ needs.setup.outputs.src == 'true' && !inputs.skip-linux}}
127+ if : ${{ !inputs.skip-linux}}
128128 runs-on : electron-arc-centralus-linux-amd64-32core
129129 container :
130130 image : ghcr.io/electron/build:${{ needs.setup.outputs.build-image-sha }}
@@ -193,6 +193,7 @@ jobs:
193193 linux-gn-check :
194194 uses : ./.github/workflows/pipeline-segment-electron-gn-check.yml
195195 needs : checkout-linux
196+ if : ${{ needs.setup.outputs.src == 'true' }}
196197 with :
197198 target-platform : linux
198199 target-archs : x64 arm arm64
@@ -258,6 +259,7 @@ jobs:
258259 pull-requests : read
259260 uses : ./.github/workflows/pipeline-electron-build-and-test-and-nan.yml
260261 needs : checkout-linux
262+ if : ${{ needs.setup.outputs.src == 'true' }}
261263 with :
262264 build-runs-on : electron-arc-centralus-linux-amd64-32core
263265 test-runs-on : electron-arc-centralus-linux-amd64-4core
@@ -278,6 +280,7 @@ jobs:
278280 pull-requests : read
279281 uses : ./.github/workflows/pipeline-electron-build-and-test.yml
280282 needs : checkout-linux
283+ if : ${{ needs.setup.outputs.src == 'true' }}
281284 with :
282285 build-runs-on : electron-arc-centralus-linux-amd64-32core
283286 test-runs-on : electron-arc-centralus-linux-amd64-4core
@@ -299,6 +302,7 @@ jobs:
299302 pull-requests : read
300303 uses : ./.github/workflows/pipeline-electron-build-and-test.yml
301304 needs : checkout-linux
305+ if : ${{ needs.setup.outputs.src == 'true' }}
302306 with :
303307 build-runs-on : electron-arc-centralus-linux-amd64-32core
304308 test-runs-on : electron-arc-centralus-linux-arm64-4core
@@ -319,6 +323,7 @@ jobs:
319323 pull-requests : read
320324 uses : ./.github/workflows/pipeline-electron-build-and-test.yml
321325 needs : checkout-linux
326+ if : ${{ needs.setup.outputs.src == 'true' }}
322327 with :
323328 build-runs-on : electron-arc-centralus-linux-amd64-32core
324329 test-runs-on : electron-arc-centralus-linux-arm64-4core
0 commit comments