Skip to content

Commit

Permalink
add GitHub actions build (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitten2up authored Sep 25, 2022
1 parent 54939fe commit 968f154
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Android CI

on:
push:
branches: [ android-port ]
pull_request:
branches: [ android-port ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
run: cd android && ./gradlew assemblegameNoAssets
- uses: actions/upload-artifact@v3
with:
name: srb2
path: android/app/build/outputs/apk/gameNoAssets/

0 comments on commit 968f154

Please sign in to comment.