File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 6161 retention-days : 30
6262
6363 android :
64- name : Android APK (Capacitor )
64+ name : Android APK (Tauri )
6565 runs-on : ubuntu-latest
6666 steps :
6767 - name : Checkout
@@ -79,11 +79,21 @@ jobs:
7979 - name : Setup Android SDK
8080 uses : android-actions/setup-android@v3
8181
82- - name : Setup Java 11
82+ - name : Setup Java 21
8383 uses : actions/setup-java@v5
8484 with :
8585 distribution : temurin
86- java-version : ' 11'
86+ java-version : ' 21'
87+
88+ - name : Install Rust toolchain
89+ uses : dtolnay/rust-toolchain@stable
90+ with :
91+ targets : aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android
92+
93+ - name : Setup Rust cache
94+ uses : Swatinem/rust-cache@v2
95+ with :
96+ workspaces : src-tauri
8797
8898 - name : Cache Gradle
8999 uses : actions/cache@v4
97107
98108 - name : Build Android release (unsigned)
99109 run : |
100- yarn android:release
110+ yarn tauri:build:android
101111
102112 - name : Setup release keystore (if available)
103113 if : ${{ secrets.ANDROID_KEYSTORE_BASE64 != '' }}
You can’t perform that action at this time.
0 commit comments