Skip to content

Commit

Permalink
rust-lang#647: Retry downloading the Android NDK if it fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton authored Aug 24, 2024
1 parent 6a2e7a1 commit 6b9d290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/android-ndk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ANDROID_NDK_ARCHIVE=android-ndk-r26d-linux.zip

mkdir /android-toolchain
cd /android-toolchain
curl -fO $ANDROID_NDK_URL/$ANDROID_NDK_ARCHIVE
curl --retry 20 -fO $ANDROID_NDK_URL/$ANDROID_NDK_ARCHIVE
unzip -q $ANDROID_NDK_ARCHIVE
rm $ANDROID_NDK_ARCHIVE
mv android-ndk-* ndk
Expand Down

0 comments on commit 6b9d290

Please sign in to comment.