Skip to content

Commit 8011e2a

Browse files
authored
chore: Fixing retry step when running the tests workflow (#3185)
1 parent 9d6fa8b commit 8011e2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/run_xcodebuild_test_platforms.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
test_without_building: ${{ steps.restore-build.outputs.cache-hit }}
7474
other_flags: ${{ inputs.other_flags }}
7575
- name: Retry iOS Test Suite if needed
76-
if: inputs.retry_on_error == 'true' && steps.run-tests.outcome=='failure'
76+
if: inputs.retry_on_error == true && steps.run-tests.outcome=='failure'
7777
id: retry-tests
7878
uses: ./.github/composite_actions/run_xcodebuild_test
7979
with:
@@ -141,7 +141,7 @@ jobs:
141141
test_without_building: ${{ steps.restore-build.outputs.cache-hit }}
142142
other_flags: ${{ inputs.other_flags }}
143143
- name: Retry macOS Test Suite if needed
144-
if: inputs.retry_on_error == 'true' && steps.run-tests.outcome=='failure'
144+
if: inputs.retry_on_error == true && steps.run-tests.outcome=='failure'
145145
id: retry-tests
146146
uses: ./.github/composite_actions/run_xcodebuild_test
147147
with:
@@ -200,7 +200,7 @@ jobs:
200200
test_without_building: ${{ steps.restore-build.outputs.cache-hit }}
201201
other_flags: ${{ inputs.other_flags }}
202202
- name: Retry tvOS Test Suite if needed
203-
if: inputs.retry_on_error == 'true' && steps.run-tests.outcome=='failure'
203+
if: inputs.retry_on_error == true && steps.run-tests.outcome=='failure'
204204
id: retry-tests
205205
uses: ./.github/composite_actions/run_xcodebuild_test
206206
with:
@@ -259,7 +259,7 @@ jobs:
259259
test_without_building: ${{ steps.restore-build.outputs.cache-hit }}
260260
other_flags: ${{ inputs.other_flags }}
261261
- name: Retry watchOS Test Suite if needed
262-
if: inputs.retry_on_error == 'true' && steps.run-tests.outcome=='failure'
262+
if: inputs.retry_on_error == true && steps.run-tests.outcome=='failure'
263263
id: retry-tests
264264
uses: ./.github/composite_actions/run_xcodebuild_test
265265
with:

0 commit comments

Comments
 (0)