Bump version to 4.0 #59
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 | |
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 |