This commit is contained in:
parent
84b499e983
commit
1fa4554290
1 changed files with 10 additions and 6 deletions
|
|
@ -16,6 +16,12 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Checkout botlib dependency
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: GeneralBots/botlib
|
||||||
|
path: ../botlib
|
||||||
|
|
||||||
- name: Cache Cargo registry
|
- name: Cache Cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -45,12 +51,10 @@ jobs:
|
||||||
rustup target add i686-linux-android
|
rustup target add i686-linux-android
|
||||||
|
|
||||||
- name: Install Tauri CLI
|
- name: Install Tauri CLI
|
||||||
run: cargo install tauri-cli
|
|
||||||
|
|
||||||
- name: Build botlib dependency
|
|
||||||
run: |
|
run: |
|
||||||
cd ../botlib
|
if ! command -v cargo-tauri &> /dev/null; then
|
||||||
cargo build --release --locked
|
cargo install tauri-cli
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Compile ROM
|
- name: Compile ROM
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -59,7 +63,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build Android APK
|
- name: Build Android APK
|
||||||
run: |
|
run: |
|
||||||
cargo tauri android build --release
|
cargo tauri android build
|
||||||
|
|
||||||
- name: Deploy ROM artifacts
|
- name: Deploy ROM artifacts
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue