Skip to content

Upgrade GitHub actions #57

Upgrade GitHub actions

Upgrade GitHub actions #57

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Check duplicated level IDs
run: cat app/src/main/assets/*.xml | grep "<level " | cut -d '"' -f 2 | sort -g | uniq --repeated | wc -l | xargs test 0 -eq
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build app
run: ./gradlew assembleDebug