File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : APK-Datei bauen
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ job-apk-bauen :
10
+ name : Debug-APK bauen
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+ - name : Setup JDK
16
+ uses : actions/setup-java@v4
17
+ with :
18
+ java-version : ' 19'
19
+ distribution : ' temurin'
20
+ - name : Gradle aufrufen
21
+ run : bash ./gradlew clean assembleDebug --stacktrace
22
+ - name : Aktuellen Zeitstempel in Umgebungsvariable kopieren
23
+ run : echo "zeitstempel=$(date +'%Y-%m-%d_%H-%M')" >> $GITHUB_ENV
24
+ - name : APK-Datei hochladen
25
+ uses : actions/upload-artifact@v4
26
+ with :
27
+ name : ZweiActivities_AndroidInstallFile-${{ env.zeitstempel }}
28
+ path : app/build/outputs/apk/debug/app-debug.apk
29
+ if-no-files-found : error
30
+ retention-days : 2
You can’t perform that action at this time.
0 commit comments