Skip to content

Commit d0364da

Browse files
committed
testing
1 parent 3f6ccc8 commit d0364da

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ jobs:
7676
BUILD: |
7777
${{
7878
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)
8282
}}
8383
8484
runs-on: "ubuntu-latest"
@@ -168,14 +168,15 @@ jobs:
168168
echo "build_input: ${{ github.event.inputs.build }}"
169169
echo "github_event_name: ${{ github.event_name }}"
170170
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') }}
171172
echo "new_deployment: ${{ steps.check_deployment.outputs.NEW }}"
172173
# The BUILD f this jon defined abobe using these inputs
173174
echo "BUILD: |
174175
${{
175176
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)
179180
}}"
180181
181182
comment-pr:

0 commit comments

Comments
 (0)