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 fc40d0a commit 68c432aCopy full SHA for 68c432a
.github/workflows/main.yaml
@@ -13,9 +13,20 @@ jobs:
13
uses: actions/checkout@v3
14
15
- name: Set up JDK 21
16
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v3
17
with:
18
java-version: '21'
19
+ distribution: 'temurin' # Default distribution provided by Eclipse Adoptium project
20
+ cache: maven # Enable dependency caching
21
+
22
+ # Cache Maven dependencies to speed up the build
23
+ - name: Cache Maven Dependencies
24
+ uses: actions/cache@v3
25
+ with:
26
+ path: ~/.m2/repository
27
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28
+ restore-keys: |
29
+ ${{ runner.os }}-maven-
30
31
- name: Build with Maven
32
run: mvn clean verify
0 commit comments