Skip to content

Bugs 42

Bugs 42 #2210

Workflow file for this run

name: Build the Project
on:
pull_request:
branches:
- "**"
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# setup
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
# validate and build
- name: Validate Help
run: ./gradlew convertHelp
- name: Validate Dictionaries
run: ./gradlew validateLanguages
- name: Build Languages
run: ./gradlew copyDefinitions convertHelp buildDictionaryDownloads copyDownloadsToAssets
- name: Lint
run: ./gradlew lint # this actually runs mergeResources, so it must come after the dictionary tasks
- name: Build all APK variants
run: ./gradlew build