We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 925bdcd commit 33544b2Copy full SHA for 33544b2
.github/workflows/maven.yml
@@ -0,0 +1,30 @@
1
+# This workflow will build a Java project with Maven
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: [ main ]
9
+ pull_request:
10
11
12
+jobs:
13
+ build:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Set up JDK 1.8
20
+ uses: actions/setup-java@v1
21
+ with:
22
+ java-version: 1.8
23
+ - name: Cache Maven packages
24
+ uses: actions/cache@v2
25
26
+ path: ~/.m2
27
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28
+ restore-keys: ${{ runner.os }}-m2
29
+ - name: Build with Maven
30
+ run: mvn clean package
0 commit comments