Add update notice and require release build secrets
All checks were successful
Release App / release-app (push) Successful in 58s

This commit is contained in:
2026-04-24 14:55:36 +03:00
parent 94fc240086
commit 5a5677a994
8 changed files with 153 additions and 11 deletions

View File

@@ -55,12 +55,19 @@ jobs:
test -f tdlib/lib/libtdjson.so
- name: Build release bundle
env:
TELEGRAM_TUI_BUILD_API_ID: ${{ secrets.TELEGRAM_API_ID }}
TELEGRAM_TUI_BUILD_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
run: |
set -euo pipefail
rm -rf build dist
test -n "${TELEGRAM_TUI_BUILD_API_ID}"
test -n "${TELEGRAM_TUI_BUILD_API_HASH}"
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DTELEGRAM_TUI_REQUIRE_BUILD_CREDENTIALS=ON \
-DTELEGRAM_TUI_TDLIB_ROOT="$PWD/tdlib"
cmake --build build -j"$(nproc)"