Retro Achievements #1132
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
name: Build Android | |
on: [push,pull_request] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2.3.1 | |
- 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' | |
- uses: sparkfabrik/android-build-action@v1.5.0 | |
with: | |
project-path: tools/android_project | |
output-path: SkyEmu.apk | |
ruby-version: "2.7.5" | |
bundler-version: "2.3.26" | |
gradle-task: assemble | |
- name: GH Release 🚀 | |
# You may pin to the exact commit or the version. | |
uses: actions/upload-artifact@v2 | |
with: | |
name: AndroidRelease | |
path: SkyEmu.apk | |