Update styling and accessibility, refine product and shopping list functionalities
Android Release Build / build-android (push) Failing after 5m51s
Android Release Build / build-android (push) Failing after 5m51s
This commit is contained in:
@@ -0,0 +1,50 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
- 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 als Build-Artefakt hochladen
|
||||||
|
uses: actions/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
|
||||||
Reference in New Issue
Block a user