Skip to content

Commit

Permalink
gh-action: do not fail if telegram upload fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous authored Mar 1, 2024
1 parent ebb8cfe commit 75a3cf8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 75a3cf8

Please sign in to comment.