-
Notifications
You must be signed in to change notification settings - Fork 71
47 lines (38 loc) · 985 Bytes
/
run.yml
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
name: Run Android build
on:
workflow_dispatch:
push:
paths:
- 'dist/**.js'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
# Disabled, because daveol/SampleApplication is missing
if: ${{ false }}
steps:
- uses: actions/checkout@v4
with:
repository: daveol/SampleApplication
- uses: actions/checkout@v4
with:
path: ./build/
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
- name: Setup Android SDK
id: 'setup-android'
uses: ./build/
- name: Build SampleApplication
if: runner.os != 'windows'
run: ./gradlew --no-daemon build
- name: Build SampleApplication (Windows)
if: runner.os == 'windows'
run: .\gradlew.bat --no-daemon build