File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Android Build
2+
3+ on :
4+ push :
5+ branches : [ main, develop ]
6+ pull_request :
7+ branches : [ main ]
8+ workflow_dispatch : # Ermöglicht manuelle Ausführung des Workflows
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v3
17+
18+ - name : Set up JDK
19+ uses : actions/setup-java@v3
20+ with :
21+ java-version : ' 11'
22+ distribution : ' temurin'
23+ cache : gradle
24+
25+ - name : Grant execute permission for gradlew
26+ run : chmod +x gradlew
27+
28+ - name : Build with Gradle
29+ run : ./gradlew assembleRelease
30+
31+ - name : Upload APK
32+ uses : actions/upload-artifact@v4
33+ with :
34+ name : app-release
35+ path : app/build/outputs/apk/release/app-release-unsigned.apk
You can’t perform that action at this time.
0 commit comments