-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (39 loc) · 1.1 KB
/
android.workflow.yml
File metadata and controls
48 lines (39 loc) · 1.1 KB
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
39
40
41
42
43
44
45
46
47
48
name: run all android tests
permissions:
contents: read
pages: write
id-token: write
on:
workflow_dispatch:
pull_request:
push:
branches: [ 'master' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v6
with:
submodules: true
fetch-depth: 0
- name: Read .env
id: env
run: |
. ./.env
echo "HUGO_VERSION=${HUGO_VERSION}" >> "${GITHUB_OUTPUT}"
echo "JVM_VERSION=${JVM_VERSION}" >> "${GITHUB_OUTPUT}"
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: 'adopt'
java-version: '${{ steps.env.outputs.JVM_VERSION }}'
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
- name: Check fastlane
uses: ashutoshgngwr/validate-fastlane-supply-metadata@v2
- name: Build with Gradle
run: ./gradlew build --warning-mode all --stacktrace
- name: Run all verification tasks
run: ./gradlew check --warning-mode all --stacktrace