fix(android): bundle Discord SDK in local and CI releases

This commit is contained in:
zarzet committed 2026-09-26 02:02:49 +07:00
1 parent 8e7e71827c
commit 64f76293ec
13 files changed
+545 -17

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
name: Prepare Discord Social SDK
description: Decrypt and verify the pinned Android SDK before Gradle configures native builds.
inputs:
passphrase:
description: Decryption key for the bundled Android SDK, supplied from a repository secret.
required: true
runs:
using: composite
steps:
- name: Decrypt and verify SDK
shell: bash
env:
DISCORD_SDK_PASSPHRASE: ${{ inputs.passphrase }}
run: |
set -euo pipefail
sdk_dir="$(python3 scripts/prepare_discord_sdk.py)"
printf 'SPOTIFLAC_DISCORD_SDK_DIR=%s\n' "$sdk_dir" >> "$GITHUB_ENV"