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 3027ac3 commit 95446e7Copy full SHA for 95446e7
.github/workflows/maven.yml
@@ -0,0 +1,31 @@
1
+name: Deploy
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build-and-deploy:
12
+ runs-on: ubuntu-latest
13
+ environment: prod
14
15
+ steps:
16
+ # Checkout the repository
17
+ - uses: actions/checkout@v4
18
19
+ # Set up JDK 21
20
+ - name: Set up JDK 21
21
+ uses: actions/setup-java@v4
22
+ with:
23
+ java-version: '21'
24
+ distribution: 'temurin'
25
+ cache: maven
26
+ cache-dependency-path: pom.xml
27
28
+ # Build with Maven
29
+ - name: Compile with Maven
30
+ run: mvn compile -f pom.xml
31
0 commit comments