Attempt to fix TG curl timeout uploads

pull/414/head
Dmitry Ilyin 2022-08-28 09:28:08 +03:00
parent 3b4fcb5d03
commit 0de2f9f168
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ jobs:
TG_CHANNEL: ${{ secrets.TELEGRAM_CHANNEL_OPENIPC_DEV }}
if: ${{ !env.ACT && failure() && github.event_name != 'pull_request' }}
run: |
TG_OPTIONS="-s --connect-timeout 30 --max-time 30"
TG_OPTIONS="-s --connect-timeout 30 --retry 10 --verbose"
TG_NOTIFY="${TG_NOTIFY:=Warning, Buildroot compiling error... ${{ matrix.platform }} (${{ matrix.release }})}"
TG_HEADER=$(echo -e "\r\n$TG_NOTIFY \r\n\r\nCommit: $GIT_HASH \r\nBranch: $BRANCH \r\nTag: $TAG_NAME \r\n\r\n\xE2\x9A\xA0 GitHub Actions")
curl $TG_OPTIONS -H "Content-Type: multipart/form-data" -X POST https://api.telegram.org/bot$TG_TOKEN/sendMessage \