fix and remove debug
Android / build-android (push) Successful in 2m30s

This commit is contained in:
intelligence committed 2026-08-29 19:06:16 +02:00
1 parent 357edf9a2d
commit 5517792387
9 files changed
+51 -34

No files matched your search

+5 -7
View File
@@ -29,9 +29,6 @@ jobs:
- name: Lint and test
working-directory: android
run: ./gradlew --no-daemon lintDebug testDebugUnitTest
- name: Build debug APK
working-directory: android
run: ./gradlew --no-daemon assembleDebug
- name: Build signed release APK
working-directory: android
env:
@@ -52,12 +49,13 @@ jobs:
working-directory: android
run: |
mkdir -p ../artifacts
cp app/build/outputs/apk/debug/app-debug.apk ../artifacts/transui-android-debug.apk
if [ -f app/build/outputs/apk/release/app-release.apk ]; then
cp app/build/outputs/apk/release/app-release.apk ../artifacts/transui-android-release.apk
cd ../artifacts
sha256sum ./*.apk > SHA256SUMS-android
else
echo "No release APK to publish"
fi
cd ../artifacts
sha256sum ./*.apk > SHA256SUMS-android
- name: Attach APKs to the Gitea release
if: gitea.event_name == 'release'
env:
@@ -72,4 +70,4 @@ jobs:
with:
name: transui-android
path: artifacts/
if-no-files-found: error
if-no-files-found: warn