Skip to content

Commit c233374

Browse files
Fix for new UITests.xcconfig file format
1 parent 0f3c892 commit c233374

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/ios-end-to-end-tests.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,18 @@ jobs:
3535
- name: Configure Xcode project
3636
run: |
3737
for file in *.xcconfig.template ; do cp $file ${file//.template/} ; done
38+
sed -i "/^HAS_TIME_ACCOUNT_NUMBER/d" UITests.xcconfig
39+
sed -i "/^NO_TIME_ACCOUNT_NUMBER/d" UITests.xcconfig
3840
sed -i "" \
3941
"/IOS_DEVICE_PIN_CODE =/ s/= .*/= $IOS_DEVICE_PIN_CODE/" \
4042
UITests.xcconfig
4143
sed -i "" \
4244
"/TEST_DEVICE_IDENTIFIER_UUID =/ s/= .*/= $TEST_DEVICE_IDENTIFIER_UUID/" \
4345
UITests.xcconfig
44-
sed -i "" \
45-
"/HAS_TIME_ACCOUNT_NUMBER =/ s/= .*/= $HAS_TIME_ACCOUNT_NUMBER/" \
46-
UITests.xcconfig
47-
sed -i "" \
48-
"/NO_TIME_ACCOUNT_NUMBER =/ s/= .*/= $NO_TIME_ACCOUNT_NUMBER/" \
49-
UITests.xcconfig
50-
working-directory: ios/Configurations
5146
52-
- name: Debug
53-
run: |
54-
printf "$HAS_TIME_ACCOUNT_NUMBER" | wc -c
55-
printf "$NO_TIME_ACCOUNT_NUMBER" | wc -c
47+
printf "HAS_TIME_ACCOUNT_NUMBER = $HAS_TIME_ACCOUNT_NUMBER\n" >> UITests.xcconfig
48+
printf "NO_TIME_ACCOUNT_NUMBER = $NO_TIME_ACCOUNT_NUMBER\n" >> UITests.xcconfig
49+
working-directory: ios/Configurations
5650

5751
- name: Run end-to-end-tests
5852
run: |

0 commit comments

Comments
 (0)