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 c8ebb3c commit 10fb210Copy full SHA for 10fb210
.github/workflows/maven.yml
@@ -0,0 +1,33 @@
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@v4
15
16
+ - name: Set up JDK 24
17
+ uses: actions/setup-java@v4
18
+ with:
19
+ java-version: '24-ea'
20
+ distribution: 'oracle'
21
22
+ - name: Cache Maven dependencies
23
+ uses: actions/cache@v4
24
25
+ path: ~/.m2
26
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
27
+ restore-keys: ${{ runner.os }}-m2
28
29
+ - name: Build with Maven
30
+ run: mvn clean compile
31
32
+ - name: Package JAR
33
+ run: mvn package
0 commit comments