-
-
Notifications
You must be signed in to change notification settings - Fork 95
38 lines (35 loc) · 992 Bytes
/
Copy pathbuild.yml
File metadata and controls
38 lines (35 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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@v5
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
# validate and build
- name: Generate Documents
run: ./gradlew generateDocs
- name: Validate Dictionaries
run: ./gradlew validateLanguages
- name: Build Languages
run: ./gradlew buildDefinition buildDictionaryDownloads
- name: Copy Downloads
run: ./gradlew copyDownloadsToAssets
- name: Lint
run: ./gradlew lint # this actually runs mergeResources, so it must come after the dictionary tasks
- name: Build 'Lite' and 'Full' APK variants
run: ./gradlew assembleLiteRelease assembleFullRelease