-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (40 loc) · 945 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: [main]
pull_request:
paths-ignore:
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'README*'
- 'CODE_OF_CONDUCT*'
branches: [main]
jobs:
build-verify:
name: Verify Build
runs-on: ubuntu-latest
if: github.repository_owner == 'Apicurio'
steps:
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- name: Check Java Version
run: java -version
- name: Set up Maven
uses: stCarolas/setup-maven@v4
with:
maven-version: '3.8.5'
- name: Check Maven Version
run: mvn --version
- name: Checkout Code
uses: actions/checkout@v2
- name: Build Project
run: mvn clean install