Skip to content

Commit 304e167

Browse files
committed
Remove extra array subscript
1 parent 1989328 commit 304e167

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
apis: ${{ steps.matrix_config.outputs.apis }}
6363
mobile_test_on: ${{ steps.matrix_config.outputs.mobile_test_on }}
6464
android_device: ${{ steps.matrix_config.outputs.android_device }}
65-
xcode_version: fromJson(${{ steps.matrix_config.outputs.xcode_version }})[0]
65+
xcode_version: fromJson(${{ steps.matrix_config.outputs.xcode_version }})
6666
ios_device: ${{ steps.matrix_config.outputs.ios_device }}
6767
tvos_device: ${{ steps.matrix_config.outputs.tvos_device }}
6868
steps:
@@ -183,8 +183,7 @@ jobs:
183183
mobile_test_on=$( python scripts/gha/print_matrix_configuration.py -c -w integration_tests -k mobile_test_on -o "${{github.event.inputs.mobile_test_on}}")
184184
echo "::set-output name=mobile_test_on::${mobile_test_on}"
185185
echo "::set-output name=android_device::$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k android_device -t ${mobile_test_on} )"
186-
echo "::set-output name=xcode_version::$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k xcode_version -t ${mobile_test_on} )"
187-
echo "xcode_version: $( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k xcode_version -t ${mobile_test_on} )"
186+
echo "::set-output name=xcode_version::$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k xcode_version)"
188187
echo "::set-output name=ios_device::$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k ios_device -t ${mobile_test_on} )"
189188
echo "::set-output name=tvos_device::$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k tvos_device -t ${mobile_test_on} )"
190189
- name: Update PR label and comment

scripts/gha/print_matrix_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"msvc_runtime": ["dynamic"],
113113
"cpp_compiler_windows": ["VisualStudio2019"],
114114
"cpp_compiler_linux": ["clang-11.0"],
115-
"xcode_version": ["12.4"],
115+
"xcode_version": ["12.4"], # only the first one is used
116116
"ndk_version": ["r22b"],
117117
"platform_version": ["28"],
118118
"build_tools_version": ["28.0.3"],

0 commit comments

Comments
 (0)