We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c7ca19 + 6f189b3 commit bcad4e5Copy full SHA for bcad4e5
.github/workflows/maven.yml
@@ -0,0 +1,33 @@
1
+name: name
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
7
+jobs:
8
+ build:
9
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
15
+ - name: Set up JDK 17
16
+ uses: actions/setup-java@v2
17
+ with:
18
+ java-version: '17'
19
+ distribution: 'adopt'
20
21
+ - name: Cache Maven packages
22
+ uses: actions/cache@v2
23
24
+ path: ~/.m2
25
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26
+ restore-keys: ${{ runner.os }}-m2
27
28
+ - name: Build with Maven
29
+ run: mvn -B package --file pom.xml
30
31
+ - name: Verify build (optional)
32
+ run: mvn --file pom.xml verify
33
0 commit comments