From 75a3cf8075518a76b6ce4ed5a846cdfae4f4a95a Mon Sep 17 00:00:00 2001 From: ignoramous Date: Fri, 1 Mar 2024 14:53:24 +0530 Subject: [PATCH] gh-action: do not fail if telegram upload fails --- .github/workflows/nightly.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 247f3bb9a..a377533e9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -19,7 +19,7 @@ jobs: build: - name: Generate Nightly Build + name: Weeklies runs-on: ubuntu-latest needs: evaluateChanges if: needs.evaluateChanges.outputs.SHOULD_BUILD == 'true' @@ -50,8 +50,7 @@ jobs: -F chat_id="$TELEGRAM_CHAT_ID" \ -F "caption=Size: $(ls -l --block-size=K "$apk_path" | awk '{ print $5 }')" \ -F parse_mode=HTML \ - -F document=@"$apk_path" - rm "$apk_path" + -F document=@"$apk_path" || true done # github.com/actions/upload-artifact