mirror of
https://github.com/ong19th/Citron.git
synced 2025-12-13 22:37:08 +00:00
CI: Update CI workflows to use Citron-specific naming and paths
This commit is contained in:
parent
257aad2431
commit
eec0f34204
65 changed files with 2596 additions and 10 deletions
21
.ci/scripts/android/stablebuild.sh
Executable file
21
.ci/scripts/android/stablebuild.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# SPDX-FileCopyrightText: 2019 citron Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
export NDK_CCACHE="$(which ccache)"
|
||||
ccache -s
|
||||
|
||||
export ANDROID_KEYSTORE_FILE="${GITHUB_WORKSPACE}/ks.jks"
|
||||
export SERVICE_ACCOUNT_KEY_PATH="${GITHUB_WORKSPACE}/service-account-key.json"
|
||||
|
||||
base64 --decode <<< "${STABLE_PLAY_ANDROID_KEYSTORE_B64}" > "${ANDROID_KEYSTORE_FILE}"
|
||||
chmod 600 "${ANDROID_KEYSTORE_FILE}"
|
||||
|
||||
mkdir -p "$(dirname "${SERVICE_ACCOUNT_KEY_PATH}")"
|
||||
base64 --decode <<< "${STABLE_SERVICE_ACCOUNT_KEY_B64}" > "${SERVICE_ACCOUNT_KEY_PATH}"
|
||||
./gradlew "publishStableReleaseBundle"
|
||||
|
||||
ccache -s
|
||||
|
||||
rm "${ANDROID_KEYSTORE_FILE}" "${SERVICE_ACCOUNT_KEY_PATH}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue