From 0de2f9f1688ca30d6b9dd8cbc439941af445dad6 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin Date: Sun, 28 Aug 2022 09:28:08 +0300 Subject: [PATCH] Attempt to fix TG curl timeout uploads --- .github/workflows/matrix_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matrix_build.yml b/.github/workflows/matrix_build.yml index a3674b6d..058d3e56 100644 --- a/.github/workflows/matrix_build.yml +++ b/.github/workflows/matrix_build.yml @@ -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 \