@@ -29,11 +29,11 @@ jobs:
29
29
steps :
30
30
- name : " skip if unwanted"
31
31
if : |
32
- github.event_name != 'workflow_dispatch' ||
33
- github.event.inputs.board == '' ||
34
- matrix.arduino-platform = = github.event.inputs.board
32
+ github.event_name == 'workflow_dispatch' &&
33
+ github.event.inputs.board != '' &&
34
+ matrix.arduino-platform ! = github.event.inputs.board
35
35
run : |
36
- echo "build this one!"
36
+ echo "don't build this one!"; exit 1
37
37
- uses : actions/setup-python@v5
38
38
with :
39
39
python-version : " 3.x"
@@ -208,11 +208,11 @@ jobs:
208
208
steps :
209
209
- name : " skip if unwanted"
210
210
if : |
211
- github.event_name != 'workflow_dispatch' ||
212
- github.event.inputs.board == '' ||
213
- matrix.arduino-platform = = github.event.inputs.board
211
+ github.event_name == 'workflow_dispatch' &&
212
+ github.event.inputs.board != '' &&
213
+ matrix.arduino-platform ! = github.event.inputs.board
214
214
run : |
215
- echo "build this one!"
215
+ echo "don't build this one!"; exit 1
216
216
- uses : actions/setup-python@v5
217
217
with :
218
218
python-version : " 3.x"
@@ -320,11 +320,11 @@ jobs:
320
320
steps :
321
321
- name : " skip if unwanted"
322
322
if : |
323
- github.event_name != 'workflow_dispatch' ||
324
- github.event.inputs.board == '' ||
325
- matrix.arduino-platform = = github.event.inputs.board
323
+ github.event_name == 'workflow_dispatch' &&
324
+ github.event.inputs.board != '' &&
325
+ matrix.arduino-platform ! = github.event.inputs.board
326
326
run : |
327
- echo "build this one!"
327
+ echo "don't build this one!"; exit 1
328
328
- uses : actions/setup-python@v5
329
329
with :
330
330
python-version : " 3.x"
@@ -457,11 +457,11 @@ jobs:
457
457
steps :
458
458
- name : " skip if unwanted"
459
459
if : |
460
- github.event_name != 'workflow_dispatch' ||
461
- github.event.inputs.board == '' ||
462
- matrix.arduino-platform = = github.event.inputs.board
460
+ github.event_name == 'workflow_dispatch' &&
461
+ github.event.inputs.board != '' &&
462
+ matrix.arduino-platform ! = github.event.inputs.board
463
463
run : |
464
- echo "build this one!"
464
+ echo "don't build this one!"; exit 1
465
465
- uses : actions/setup-python@v5
466
466
with :
467
467
python-version : " 3.x"
@@ -538,11 +538,11 @@ jobs:
538
538
steps :
539
539
- name : " skip if unwanted"
540
540
if : |
541
- github.event_name != 'workflow_dispatch' ||
542
- github.event.inputs.board == '' ||
543
- matrix.arduino-platform = = github.event.inputs.board
541
+ github.event_name == 'workflow_dispatch' &&
542
+ github.event.inputs.board != '' &&
543
+ matrix.arduino-platform ! = github.event.inputs.board
544
544
run : |
545
- echo "build this one!"
545
+ echo "don't build this one!"; exit 1
546
546
- uses : actions/setup-python@v5
547
547
with :
548
548
python-version : " 3.x"
@@ -616,11 +616,11 @@ jobs:
616
616
steps :
617
617
- name : " skip if unwanted"
618
618
if : |
619
- github.event_name != 'workflow_dispatch' ||
620
- github.event.inputs.board == '' ||
621
- matrix.arduino-platform = = github.event.inputs.board
619
+ github.event_name == 'workflow_dispatch' &&
620
+ github.event.inputs.board != '' &&
621
+ matrix.arduino-platform ! = github.event.inputs.board
622
622
run : |
623
- echo "build this one!"
623
+ echo "don't build this one!"; exit 1
624
624
- uses : actions/setup-python@v5
625
625
with :
626
626
python-version : " 3.x"
@@ -711,11 +711,11 @@ jobs:
711
711
steps :
712
712
- name : " skip if unwanted"
713
713
if : |
714
- github.event_name != 'workflow_dispatch' ||
715
- github.event.inputs.board == '' ||
716
- matrix.arduino-platform = = github.event.inputs.board
714
+ github.event_name == 'workflow_dispatch' &&
715
+ github.event.inputs.board != '' &&
716
+ matrix.arduino-platform ! = github.event.inputs.board
717
717
run : |
718
- echo "build this one!"
718
+ echo "don't build this one!"; exit 1
719
719
- uses : actions/setup-python@v5
720
720
with :
721
721
python-version : " 3.x"
@@ -814,11 +814,11 @@ jobs:
814
814
steps :
815
815
- name : " skip if unwanted"
816
816
if : |
817
- github.event_name != 'workflow_dispatch' ||
818
- github.event.inputs.board == '' ||
819
- matrix.arduino-platform = = github.event.inputs.board
817
+ github.event_name == 'workflow_dispatch' &&
818
+ github.event.inputs.board != '' &&
819
+ matrix.arduino-platform ! = github.event.inputs.board
820
820
run : |
821
- echo "build this one!"
821
+ echo "don't build this one!"; exit 1
822
822
- uses : actions/setup-python@v5
823
823
with :
824
824
python-version : " 3.x"
0 commit comments