File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed
Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -2,29 +2,35 @@ name: Android Plugin CI
22
33on :
44 push :
5- branches : [ main ]
6- pull_request :
7- branches : [ main ]
5+ branches :
6+ - main
7+ workflow_dispatch :
88
99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12+
1213 steps :
13- - uses : actions/checkout@v4
14+ - name : Checkout code
15+ uses : actions/checkout@v4
1416
15- - name : Set up JDK 17
17+ - name : Set up JDK
1618 uses : actions/setup-java@v4
1719 with :
1820 distribution : ' temurin'
19- java-version : 17
21+ java-version : ' 17 '
2022
2123 - name : Set up Android SDK
2224 uses : android-actions/setup-android@v3
2325
2426 - name : Grant execute permission for gradlew
2527 run : chmod +x ./gradlew
2628
27- - name : Build with Gradle
28- run : ./gradlew :plugin:build :plugin:build-dex
29- env :
30- ANDROID_HOME : ${{ env.ANDROID_SDK_ROOT }}
29+ - name : Build DEX
30+ run : ./gradlew :plugin:build-dex
31+
32+ - name : Upload classes.dex artifact
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : classes-dex
36+ path : plugin/build/classes.dex
You can’t perform that action at this time.
0 commit comments