Skip to content

Announce nightly builds and attach APKs in Telegram comments - #777

Merged
ShiftHackZ merged 3 commits into
masterfrom
feature/nightly-telegram-comments
Nov 19, 2026
Merged

ShiftHackZ merged 3 commits into
masterfrom
feature/nightly-telegram-comments

Conversation

@ShiftHackZ

@ShiftHackZ ShiftHackZ commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Description

Published Android nightlies now post a comment beneath a configured Telegram announcement using the same wording and links as Discord, then attach the exact signed APK as a reply. The full announcement stays in a text message because document captions have a shorter limit.

The runner builds and caches a pinned official Telegram Bot API executable for local uploads up to 2 GB. It binds the server to loopback, uses a disposable session and logs out/stops the owned server on completion or cancellation. The additional API ID/hash are read from environment secrets; group/message IDs accept variables or secrets. Delivery is not retried automatically.

Updates the existing root nightly documentation with Telegram delivery behavior. The scheduled workflow remains on master and continues building develop; notification helpers are checked out separately from the workflow commit, so branch alignment is unnecessary.

Validation

  • Actionlint with ShellCheck, shell syntax, jq filter compilation, Prettier and whitespace checks passed.
  • The pinned Telegram Bot API executable built successfully and ran --help on Ubuntu 24.04 ARM64 using the notification build script.
  • Bot authentication and the intended discussion group/message IDs were verified through incoming Telegram updates.
  • Project Tests is rerunning after the first attempt failed resolving existing Kotlin dependencies; the retry passed lint and reached unit tests.
  • Actual CI announcement and APK delivery remain untested until the workflow is activated. No announcement or file was sent during development.

@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ShiftHackZ ShiftHackZ changed the title Announce nightly builds in Telegram post comments Announce nightly builds and attach APKs in Telegram comments Nov 19, 2026
@ShiftHackZ
ShiftHackZ merged commit 82ebd42 into master Nov 19, 2026
2 of 3 checks passed
@ShiftHackZ
ShiftHackZ deleted the feature/nightly-telegram-comments branch November 19, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant