Skip to content

SkyEmu v4

SkyEmu v4 #1354

name: Build Android
on: [push,pull_request]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
- name: Setup Android SDK
uses: android-actions/[email protected]
- name: Build Release apk
run: |
cd tools/android_project/
./gradlew assembleRelease
ls app/build/outputs/apk/release/
- name: GH Release 🚀
# You may pin to the exact commit or the version.
uses: actions/upload-artifact@v2
with:
name: AndroidRelease
path: tools/android_project/app/build/outputs/apk/release/com.sky.SkyEmu-*-release.apk