forked from Apicurio/apicurio-data-models
-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·46 lines (40 loc) · 962 Bytes
/
verify.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
name: Verify Build Workflow
on:
push:
paths-ignore:
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'README*'
- 'CODE_OF_CONDUCT*'
branches: [master]
pull_request:
paths-ignore:
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'README*'
- 'CODE_OF_CONDUCT*'
branches: [master]
jobs:
build-verify:
name: Verify Build
runs-on: ubuntu-18.04
if: github.repository_owner == 'Apicurio'
steps:
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'
- name: Check Java Version
run: java -version
- name: Set up Maven
uses: stCarolas/setup-maven@v4
with:
maven-version: '3.6.3'
- name: Check Maven Version
run: mvn --version
- name: Checkout Code
uses: actions/checkout@v2
- name: Build Project
run: mvn clean install -Ptranspilation