Skip cross-platform validation when preparing releases. (#14268)
Austin S. Hemmelgarn committed
Jan 14, 2023 at 12:11 UTC
476dbec1d1d20fe984909fbe148dff58d5c985e7
1 file changed
+4
-6
.github/workflows/build.yml
+4
-6
@@ -171,6 +171,7 @@ jobs:
171
matrix: # Generate the shared build matrix for our build tests.
172
name: Prepare Build Matrix
173
runs-on: ubuntu-latest
174
+ if: github.event_name != 'workflow_dispatch'
175
outputs:
176
matrix: ${{ steps.set-matrix.outputs.matrix }}
177
steps:
@@ -212,6 +213,7 @@ jobs:
213
prepare-test-images: # Prepare the test environments for our build checks. This also checks dependency handling code for each tested environment.
214
name: Prepare Test Environments
215
runs-on: ubuntu-latest
216
+ if: github.event_name != 'workflow_dispatch'
217
needs:
218
- matrix
219
env:
@@ -312,6 +314,7 @@ jobs:
314
source-build: # Test various source build arrangements.
315
name: Test Source Build
316
runs-on: ubuntu-latest
317
+ if: github.event_name != 'workflow_dispatch'
318
needs:
319
- matrix
320
- prepare-test-images
@@ -385,6 +388,7 @@ jobs:
388
updater-check: # Test the generated dist archive using the updater code.
389
name: Test Generated Distfile and Updater Code
390
runs-on: ubuntu-latest
391
+ if: github.event_name != 'workflow_dispatch'
392
needs:
393
- build-dist
394
- matrix
@@ -630,8 +634,6 @@ jobs:
634
runs-on: ubuntu-latest
635
if: github.event_name == 'workflow_dispatch' && github.event.inputs.type == 'nightly' && github.repository == 'netdata/netdata'
636
needs:
633
- - updater-check
634
- - source-build
637
- artifact-verification-dist
638
- artifact-verification-static
639
steps:
@@ -685,8 +687,6 @@ jobs:
687
runs-on: ubuntu-latest
688
if: github.event_name == 'workflow_dispatch' && github.event.inputs.type == 'nightly' && github.repository == 'netdata/netdata'
689
needs:
688
- - updater-check
689
- - source-build
690
- artifact-verification-dist
691
- artifact-verification-static
692
steps:
@@ -772,8 +772,6 @@ jobs:
772
runs-on: ubuntu-latest
773
if: github.event_name == 'workflow_dispatch' && github.event.inputs.type == 'release' && github.repository == 'netdata/netdata'
774
needs:
775
- - updater-check
776
- - source-build
775
- artifact-verification-dist
776
- artifact-verification-static
777
- normalize-tag