File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Flint Lint CI
2+
3+ on :
4+ pull_request :
5+ branches : [ develop, main ]
6+
7+ jobs :
8+ build :
9+ name : PR Build Check
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v6
15+
16+ - name : Setup Gradle
17+ uses : gradle/actions/setup-gradle@v4
18+
19+ - name : Set up JDK 17
20+ uses : actions/setup-java@v5
21+ with :
22+ java-version : 17
23+ distribution : ' temurin'
24+
25+ - name : Set up Android SDK
26+ uses : android-actions/setup-android@v3
27+
28+ - name : Create local.properties
29+ env :
30+ DEV_BASE_URL : ${{ secrets.DEV_BASE_URL }}
31+ run : |
32+ echo "sdk.dir=$ANDROID_SDK_ROOT" > local.properties
33+ echo "base.url=\"${DEV_BASE_URL}\"" >> local.properties
34+
35+ - name : Grant permission to gradlew
36+ run : chmod +x ./gradlew
37+
38+ - name : Build Debug APK
39+ run : ./gradlew assembleDebug --stacktrace
You can’t perform that action at this time.
0 commit comments