File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build DEX
2+
3+ on :
4+ push :
5+ paths :
6+ - ' plugin/**'
7+ - ' .github/workflows/build.yml'
8+ pull_request :
9+ paths :
10+ - ' plugin/**'
11+
12+ jobs :
13+ build-dex :
14+ runs-on : ubuntu-latest
15+
16+ env :
17+ ANDROID_HOME : /usr/local/lib/android/sdk
18+
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v4
22+
23+ - name : Set up JDK 17
24+ uses : actions/setup-java@v4
25+ with :
26+ distribution : ' temurin'
27+ java-version : 17
28+
29+ - name : Set up Android SDK
30+ uses : android-actions/setup-android@v3
31+
32+ - name : Grant execute permissions to gradlew
33+ run : chmod +x ./gradlew
34+
35+ - name : Build DEX file
36+ working-directory : plugin
37+ run : ./gradlew build-dex
38+
39+ - name : Upload DEX artifact
40+ uses : actions/upload-artifact@v4
41+ with :
42+ name : classes-dex
43+ path : plugin/build/classes.dex
You can’t perform that action at this time.
0 commit comments