Skip to content

Commit f3b8dc0

Browse files
authored
Merge pull request #2 from Enet4/ghactions
Move CI to GitHub Actions
2 parents 927c134 + 89182ba commit f3b8dc0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/maven.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Java CI with Maven
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
java-version: ['8', '11']
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up JDK ${{ matrix.java-version }}
24+
uses: actions/setup-java@v2
25+
with:
26+
distribution: 'zulu'
27+
java-version: ${{ matrix.java-version }}
28+
cache: maven
29+
- name: Build with Maven
30+
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)