Change target again #11
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 Sample for Android | |
on: [push, pull_request] | |
jobs: | |
apk: | |
name: Apk Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the Android Builder | |
run: git clone https://github.com/ravbug/sdl-android-builder | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
path: sdl-android-builder/to-build/ | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Build the APK | |
run: | | |
cd sdl-android-builder | |
./gradlew assembleRelease | |
- name: Upload the APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: app-debug.apk | |
path: sdl-android-builder/app/build/outputs/apk/* |