File tree 1 file changed +10
-13
lines changed 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change 76
76
BUILD : |
77
77
${{
78
78
github.event.inputs.build ||
79
- (
80
- github.event_name == 'workflow_dispatch' &&
81
- (
82
- steps.check_deployment.outputs.NEW ||
83
- steps.filter.outputs.all_count > steps.filter.outputs.ignored_count
84
- )
85
- ) ||
86
- (
87
- steps.filter.outputs.all_count > steps.filter.outputs.ignored_count &&
88
- github.event_name == 'push' &&
89
- !steps.check_deployment.outputs.NEW
90
- )
79
+ (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') ||
80
+ (github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) ||
81
+ (steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count)
91
82
}}
92
83
93
84
runs-on : " ubuntu-latest"
@@ -179,7 +170,13 @@ jobs:
179
170
echo "files_changed: ${{ steps.filter.outputs.all_count > steps.filter.outputs.ignored_count }}"
180
171
echo "new_deployment: ${{ steps.check_deployment.outputs.NEW }}"
181
172
# The BUILD f this jon defined abobe using these inputs
182
- echo "BUILD: ${{ github.event.inputs.build || (github.event_name == 'workflow_dispatch' && (steps.check_deployment.outputs.NEW == 'true' || steps.filter.outputs.all_count > steps.filter.outputs.ignored_count)) || (steps.filter.outputs.all_count > steps.filter.outputs.ignored_count && github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false') }}"
173
+ echo "BUILD: |
174
+ ${{
175
+ github.event.inputs.build == 'true' ||
176
+ (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') ||
177
+ (github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) ||
178
+ (steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count)
179
+ }}"
183
180
184
181
comment-pr :
185
182
needs : [check_pr, get_info]
You can’t perform that action at this time.
0 commit comments