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 b5cc716 commit 589ee80Copy full SHA for 589ee80
.github/workflows/maven.yml
@@ -0,0 +1,27 @@
1
+name: Java CI with Maven
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: [ "main" ]
7
8
+jobs:
9
+ build:
10
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Set up JDK 21
16
+ uses: actions/setup-java@v4
17
+ with:
18
+ java-version: '21'
19
+ distribution: 'temurin'
20
+ cache: maven
21
22
+ - name: Build with Maven
23
+ run: mvn -B package --file pom.xml
24
25
+ # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
26
+ - name: Update dependency graph
27
+ uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
0 commit comments