Skip to content

Commit 6ac8593

Browse files
authored
Use incremental in build stage (#5725)
1 parent 34daf0f commit 6ac8593

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/build_and_test_ya/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ runs:
9595
uses: ./.github/actions/graph_compare
9696

9797
- name: Change target in case of incremental (tests)
98-
id: test_run_choice
98+
id: target_choice
9999
shell: bash
100100
run: |
101101
if [ "${{ inputs.increment }}" == "true" ]; then
@@ -109,7 +109,7 @@ runs:
109109
id: build
110110
if: ${{ inputs.run_build == 'true' }}
111111
with:
112-
build_target: ${{ inputs.build_target }}
112+
build_target: ${{ steps.target_choice.outputs.target }}
113113
build_preset: ${{ inputs.build_preset }}
114114
bazel_remote_uri: ${{ fromJSON( inputs.vars ).REMOTE_CACHE_URL || '' }}
115115
bazel_remote_username: ${{ fromJSON( inputs.secs ).REMOTE_CACHE_USERNAME || '' }}
@@ -122,7 +122,7 @@ runs:
122122
uses: ./.github/actions/test_ya
123123
if: ${{ inputs.run_tests == 'true' && (steps.build.outputs.success == 'true' || inputs.run_tests_if_build_fails == 'true') }}
124124
with:
125-
build_target: ${{ steps.test_run_choice.outputs.target }}
125+
build_target: ${{ steps.target_choice.outputs.target }}
126126
build_preset: ${{ inputs.build_preset }}
127127
test_size: ${{ inputs.test_size }}
128128
test_type: ${{ inputs.test_type }}

0 commit comments

Comments
 (0)