mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
refactor: replace inline APK staging script with a dedicated shell script for improved maintainability
This commit is contained in:
parent
772ee2ea46
commit
6ca3923b2f
2 changed files with 1 additions and 11 deletions
12
.github/workflows/android-apk-tag.yml
vendored
12
.github/workflows/android-apk-tag.yml
vendored
|
|
@ -293,17 +293,7 @@ jobs:
|
|||
|
||||
- name: Stage APKs for unified draft release
|
||||
if: ${{ steps.track.outputs.track == 'dev' || steps.track.outputs.track == 'master' }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mkdir -p android-apks-for-draft
|
||||
shopt -s nullglob
|
||||
signed=(android/app/build/outputs/apk/release/*-signed.apk)
|
||||
shopt -u nullglob
|
||||
if [[ ${#signed[@]} -eq 0 ]]; then
|
||||
echo "::error::Expected *-signed.apk under android/app/build/outputs/apk/release/ (dev and master draft releases use the same release-signed APK)." >&2
|
||||
exit 1
|
||||
fi
|
||||
cp -v "${signed[@]}" android-apks-for-draft/
|
||||
run: bash scripts/ci/stage-android-release-apks.sh android/app/build/outputs/apk/release android-apks-for-draft
|
||||
|
||||
- name: Upload Android APK bundle for draft
|
||||
if: ${{ steps.track.outputs.track == 'dev' || steps.track.outputs.track == 'master' }}
|
||||
|
|
|
|||
BIN
meshchatx.rsm
BIN
meshchatx.rsm
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue