Files
Fretux 42376e61f7
Android Release Build / build-android (push) Successful in 13m36s
Refactor profile screen layout and user preference handling
2026-10-16 16:52:24 +02:00

56 lines
1.4 KiB
YAML

name: Android Release Build
on:
push:
permissions:
contents: read
jobs:
build-android:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Quellcode auschecken
uses: actions/checkout@v4
- name: Node.js einrichten
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- name: Java einrichten
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
- name: Android SDK einrichten
uses: android-actions/setup-android@v3
with:
packages: platform-tools
- name: Abhängigkeiten installieren
run: npm ci
- name: Android-Projekt erzeugen
run: npx expo prebuild --platform android --no-install
env:
EXPO_NO_TELEMETRY: '1'
- name: Release-APK bauen
run: ./gradlew --no-daemon :app:assembleRelease
working-directory: android
- name: APK-Ausgabe prüfen
run: ls -lh android/app/build/outputs/apk/release/*.apk
- name: APK als Build-Artefakt hochladen
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with:
name: shoppinguin-android-release-${{ gitea.run_number }}
path: android/app/build/outputs/apk/release/*.apk
if-no-files-found: error
retention-days: 30