mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-05-13 15:44:43 +00:00
fix(android): update paths in Taskfile and CI workflows to reflect changes in APK build process and directory structure
This commit is contained in:
@@ -145,6 +145,12 @@ jobs:
|
||||
- name: Build Android wheels
|
||||
run: bash scripts/build-android-wheels-local.sh --python-minor "${PYTHON_VERSION}" --chaquopy-ref "${CHAQUOPY_REF}" --abis arm64-v8a,x86_64,armeabi-v7a
|
||||
|
||||
- name: Build MeshChatX wheel for repository bundle
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python -m pip install -U pip build
|
||||
python -m build --wheel -o dist .
|
||||
|
||||
- name: Verify required Android wheels are present
|
||||
run: |
|
||||
set -euo pipefail
|
||||
@@ -177,20 +183,20 @@ jobs:
|
||||
working-directory: android
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew --no-daemon :app:testSlimDebugUnitTest
|
||||
./gradlew --no-daemon :app:testDebugUnitTest
|
||||
|
||||
- name: Build debug APK
|
||||
working-directory: android
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew --no-daemon :app:assembleSlimDebug
|
||||
./gradlew --no-daemon :app:assembleDebug
|
||||
|
||||
- name: Build release APK
|
||||
if: ${{ github.event_name != 'workflow_dispatch' || inputs.build_release }}
|
||||
working-directory: android
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew --no-daemon :app:assembleSlimRelease
|
||||
./gradlew --no-daemon :app:assembleRelease
|
||||
|
||||
- name: Upload wheels
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
|
||||
@@ -203,7 +209,7 @@ jobs:
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
|
||||
with:
|
||||
name: meshchatx-android-debug-${{ github.ref_name }}-${{ github.run_id }}
|
||||
path: android/app/build/outputs/apk/slim/debug/*.apk
|
||||
path: android/app/build/outputs/apk/debug/*.apk
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Upload test reports
|
||||
@@ -221,5 +227,5 @@ jobs:
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
|
||||
with:
|
||||
name: meshchatx-android-release-${{ github.ref_name }}-${{ github.run_id }}
|
||||
path: android/app/build/outputs/apk/slim/release/*.apk
|
||||
path: android/app/build/outputs/apk/release/*.apk
|
||||
if-no-files-found: error
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
# Build multi-arch image, push to GHCR, and keyless-sign the manifest (Cosign).
|
||||
# Runs on push to dev (tags :dev and :sha-*), tags (semver tags), and workflow_dispatch.
|
||||
#
|
||||
# Pinned third-party actions (bump tag and SHA together when upgrading).
|
||||
# Automated check: first step resolves each tag via api.github.com and
|
||||
@@ -21,6 +22,8 @@ name: Docker (GHCR)
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user