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.
2 parents 432c1f2 + c20415b commit 27eec68Copy full SHA for 27eec68
.github/workflows/java1.yml
@@ -0,0 +1,26 @@
1
+name: Java CI with Maven
2
+
3
+on:
4
+ push:
5
+ branches: main
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Set up JDK 11
16
+ uses: actions/setup-java@v3
17
+ with:
18
+ java-version: '11'
19
+ distribution: 'temurin' # AdoptOpenJDK's build
20
+ cache: 'maven' # Caches Maven dependencies to speed up workflow
21
22
+ - name: Build with Maven
23
+ run: mvn -B package --file pom.xml
24
25
+ - name: Test with Maven
26
+ run: mvn -B test --file pom.xml
0 commit comments