add android artifact build
This commit is contained in:
@@ -83,3 +83,45 @@ jobs:
|
|||||||
name: mumble-web2-gui-windows
|
name: mumble-web2-gui-windows
|
||||||
path: gui/dist
|
path: gui/dist
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
|
android_build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Restore Rust cache
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo
|
||||||
|
./target
|
||||||
|
key: rust-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
rust-${{ runner.os }}-
|
||||||
|
|
||||||
|
- name: Pull builder container
|
||||||
|
run: docker pull git.ohea.xyz/mumble/mumble-web2/windows-release-builder:latest
|
||||||
|
|
||||||
|
- name: Bundle dioxus project
|
||||||
|
run: docker run `
|
||||||
|
--mount "type=bind,source=${PWD},target=/app" `
|
||||||
|
--workdir "/app/gui" `
|
||||||
|
git.ohea.xyz/mumble/mumble-web2/android-release-builder:latest `
|
||||||
|
/usr/local/bin/dx bundle --verbose --trace -p mumble-web2-gui --release --android
|
||||||
|
|
||||||
|
- name: Save Rust cache
|
||||||
|
if: always()
|
||||||
|
uses: actions/cache/save@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo
|
||||||
|
./target
|
||||||
|
key: rust-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
|
- name: Upload mumble-web2-gui Android Artifact
|
||||||
|
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: mumble-web2-gui-android
|
||||||
|
path: gui/dist
|
||||||
|
retention-days: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user