We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f9e638f + aa363e6 commit 3f93ad6Copy full SHA for 3f93ad6
.github/workflows/maven.yml
@@ -0,0 +1,26 @@
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: [ 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 16
20
+ uses: actions/setup-java@v2
21
+ with:
22
+ java-version: '16'
23
+ distribution: 'adopt'
24
+ cache: maven
25
+ - name: Build with Maven
26
+ run: mvn -B package --file pom.xml
0 commit comments