Add update notice and require release build secrets
All checks were successful
Release App / release-app (push) Successful in 58s
All checks were successful
Release App / release-app (push) Successful in 58s
This commit is contained in:
@@ -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)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user