-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 855 Bytes
/
gradle.yml
File metadata and controls
30 lines (28 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: APK-Datei bauen
on:
push:
branches:
- master
jobs:
job-apk-bauen:
name: Debug-APK bauen
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Gradle aufrufen
run: bash ./gradlew clean assembleDebug --stacktrace
- name: Aktuellen Zeitstempel in Umgebungsvariable kopieren
run: echo "zeitstempel=$(date +'%Y-%m-%d_%H-%M')" >> $GITHUB_ENV
- name: APK-Datei hochladen
uses: actions/upload-artifact@v4
with:
name: CustomView_AndroidInstallFile-${{ env.zeitstempel }}
path: app/build/outputs/apk/debug/app-debug.apk
if-no-files-found: error
retention-days: 2