ci(release): add --max-time 300 --retry 3 to APK asset uploads
dev / Build debug APK (push) Successful in 51s

This commit is contained in:
Incido Developer committed 2026-08-20 12:23:00 +12:00
1 parent a39c52cf89
commit 734f9aecca
1 file changed
+6 -1
+6 -1
View File
@@ -114,7 +114,12 @@ jobs:
for APK in "Incido-${VERSION}-debug.apk" "Incido-${VERSION}-release.apk"; do for APK in "Incido-${VERSION}-debug.apk" "Incido-${VERSION}-release.apk"; do
echo "Attaching $APK to release $RELEASE_ID" echo "Attaching $APK to release $RELEASE_ID"
RESPONSE=$(curl -s -X POST \ RESPONSE=$(curl -s \
--max-time 300 \
--retry 3 \
--retry-delay 10 \
--retry-connrefuse \
-X POST \
"https://git.trevena.info/api/v1/repos/nick/incido/releases/$RELEASE_ID/assets?name=$APK" \ "https://git.trevena.info/api/v1/repos/nick/incido/releases/$RELEASE_ID/assets?name=$APK" \
-H "Authorization: token $GITHUB_TOKEN" \ -H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/octet-stream" \ -H "Content-Type: application/octet-stream" \