|
76 | 76 | BUILD: |
|
77 | 77 | ${{
|
78 | 78 | github.event.inputs.build ||
|
79 |
| - (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW) || |
80 |
| - (github.event_name == 'push' && !steps.check_deployment.outputs.NEW && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) || |
81 |
| - (!steps.check_deployment.outputs.NEW && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) |
| 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) |
82 | 82 | }}
|
83 | 83 |
|
84 | 84 | runs-on: "ubuntu-latest"
|
@@ -168,14 +168,15 @@ jobs:
|
168 | 168 | echo "build_input: ${{ github.event.inputs.build }}"
|
169 | 169 | echo "github_event_name: ${{ github.event_name }}"
|
170 | 170 | echo "files_changed: ${{ steps.filter.outputs.all_count > steps.filter.outputs.ignored_count }}"
|
| 171 | + echo "test_condition: ${{ (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') }} |
171 | 172 | echo "new_deployment: ${{ steps.check_deployment.outputs.NEW }}"
|
172 | 173 | # The BUILD f this jon defined abobe using these inputs
|
173 | 174 | echo "BUILD: |
|
174 | 175 | ${{
|
175 | 176 | github.event.inputs.build ||
|
176 |
| - (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW) || |
177 |
| - (github.event_name == 'push' && !steps.check_deployment.outputs.NEW && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) || |
178 |
| - (!steps.check_deployment.outputs.NEW && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) |
| 177 | + (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') || |
| 178 | + (github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) || |
| 179 | + (steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) |
179 | 180 | }}"
|
180 | 181 |
|
181 | 182 | comment-pr:
|
|
0 commit comments