feat: mobile interactions with input actions (#196) #139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: 'Branch name' | |
required: true | |
default: 'main' | |
name: Android Build | |
jobs: | |
build: | |
runs-on: self-hosted-ubuntu | |
container: | |
image: docker://kuruk/dcl-godot-android-builder:latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event_name == 'push' && 'main' || github.event.inputs.branch }} | |
- name: Setup Rust | |
run: | | |
echo $ANDROID_HOME | |
ls -la /root/ | |
ls -la /root/.cargo/bin/ | |
export PATH="/root/.cargo/bin:${PATH}" | |
rustup default stable | |
rustup target add aarch64-linux-android | |
rustup target add x86_64-linux-android | |
- name: Build | |
run: | | |
bash build-android-apk.sh | |
- uses: actions/upload-artifact@v3 | |
if: success() || failure() | |
with: | |
name: Android APK | |
path: | | |
android.apk |