|
|
@ -44,6 +44,7 @@ if [[ $current_cronet_version == $lastest_cronet_version ]];then |
|
|
|
echo "cronet is already latest" |
|
|
|
echo "cronet is already latest" |
|
|
|
else |
|
|
|
else |
|
|
|
sed -i s/CronetVersion=.*/CronetVersion=$lastest_cronet_version/ $path |
|
|
|
sed -i s/CronetVersion=.*/CronetVersion=$lastest_cronet_version/ $path |
|
|
|
|
|
|
|
sed "15a* 更新cronet: $lastest_cronet_version" -i $GITHUB_WORKSPACE/app/src/main/assets/updateLog.md |
|
|
|
echo "start download latest cronet" |
|
|
|
echo "start download latest cronet" |
|
|
|
chmod +x gradlew |
|
|
|
chmod +x gradlew |
|
|
|
./gradlew app:downloadCronet |
|
|
|
./gradlew app:downloadCronet |
|
|
|