-
-
Notifications
You must be signed in to change notification settings - Fork 20
33 lines (27 loc) · 866 Bytes
/
build.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
name: build
on:
push
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Checkout Project
uses: actions/checkout@v2
- name: Setup environment
id: setup-environment
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: whelk-io/maven-settings-xml-action@v13
with:
servers: '[{ "id": "git", "username": "${{ secrets.MVN_SERVER_USER }}", "password": "${{ secrets.MVN_SERVER_PASS }}" }]'
repositories: '[{ "id": "git", "url": "https://maven.pkg.github.com/manusant/spark-swagger" }]'
- name: Maven cache
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-cache-${{ hashFiles('**/pom.xml') }}
restore-keys: maven-cache-
- name: Build
id: build
run: ./mvnw clean install -PCI