-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (42 loc) · 996 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
47
48
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-20.04
if: github.repository_owner == 'Apicurio'
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- 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: Build Project
run: mvn clean install