-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (48 loc) · 1.14 KB
/
build.yaml
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
49
name: Basic Gradle Build
on:
push:
branches: [ main ]
paths-ignore:
- "*.md"
- "docs/**"
pull_request:
branches: [ main ]
paths-ignore:
- "*.md"
- "docs/**"
workflow_dispatch:
jobs:
just-build:
runs-on: ubuntu-latest
steps:
- name: Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: "temurin"
# plugins
- name: Checkout build plugins
uses: actions/checkout@v3
with:
repository: EAGrahamJr/gradle-scripts
path: gradle-scripts
- name: Build plugins
run: |
cd gradle-scripts
./gradlew --no-daemon --quiet build publishToMavenLocal
# diozero
- name: Checkout diozero
uses: actions/checkout@v3
with:
repository: EAGrahamJr/diozero
ref: main
path: diozero
- name: Build diozero
run: |
cd diozero
mvn --quiet --batch-mode -DskipTests install
# BUILD IT
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: ./gradlew --no-daemon build