Skip to content

Commit 9da2933

Browse files
Merge pull request #954 from microsoft/release/FixPostCloneBuild
Fix CI Failure of ReactNative DemoApp
2 parents b34fe28 + 57063f6 commit 9da2933

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# App Center SDK for React Native Change Log
22

3-
## Version 4.4.1
3+
## Version 4.4.3
44

55
### App Center
66

DemoApp/appcenter-post-clone.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,15 @@ echo 'Add private cocoapods repository'
1212
pod repo add $REPO_NAME https://$USER_ACCOUNT:$ACCESS_TOKEN@$PRIVATE_REPO_BASE_URL/$REPO_NAME
1313
pod repo update
1414
cd ios && pod install
15+
16+
# Remove all NDKs except NDK 21 to avoid failures on App Center CI with error:
17+
# > No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi
18+
echo 'Clean unnessesary NDKs'
19+
cd $NDK_PATH
20+
21+
# Enable extended globbing for using regular expression in rm command.
22+
shopt -s extglob
23+
rm -rf !($NDK_VERSION_FOR_BUILD)
24+
25+
echo 'NDKs after clean:'
26+
ls $NDK_PATH

0 commit comments

Comments
 (0)