Skip to content

Commit

Permalink
Merge pull request #954 from microsoft/release/FixPostCloneBuild
Browse files Browse the repository at this point in the history
Fix CI Failure of ReactNative DemoApp
  • Loading branch information
DmitriyKirakosyan authored Jan 24, 2022
2 parents b34fe28 + 57063f6 commit 9da2933
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# App Center SDK for React Native Change Log

## Version 4.4.1
## Version 4.4.3

### App Center

Expand Down
12 changes: 12 additions & 0 deletions DemoApp/appcenter-post-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,15 @@ echo 'Add private cocoapods repository'
pod repo add $REPO_NAME https://$USER_ACCOUNT:$ACCESS_TOKEN@$PRIVATE_REPO_BASE_URL/$REPO_NAME
pod repo update
cd ios && pod install

# Remove all NDKs except NDK 21 to avoid failures on App Center CI with error:
# > No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi
echo 'Clean unnessesary NDKs'
cd $NDK_PATH

# Enable extended globbing for using regular expression in rm command.
shopt -s extglob
rm -rf !($NDK_VERSION_FOR_BUILD)

echo 'NDKs after clean:'
ls $NDK_PATH

0 comments on commit 9da2933

Please sign in to comment.