-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (27 loc) · 846 Bytes
/
maven.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
34
35
36
name: chip8-lanterna
on: [push]
jobs:
verify:
runs-on: ubuntu-latest
steps:
# temporary checkout and build of core dependency
- name: git core
uses: actions/checkout@v2
with:
path: core
repository: metteo/chip8-core
token: ${{ secrets.GitHub_PAT }}
- name: git lanterna
uses: actions/checkout@v2
with:
path: lanterna
- name: java
uses: actions/setup-java@v1.3.0
with:
java-version: '11.0.6+10'
- name: prepare maven
run: cp -R ./core/.mvn ./ ; cp ./core/mvnw ./
- name: maven core
run: ./mvnw -B -Dmaven.repo.local=$PWD/repo clean install --file core/pom.xml
- name: maven lanterna
run: ./mvnw -B -Dmaven.repo.local=$PWD/repo clean verify --file lanterna/pom.xml