File tree Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,14 @@ jobs:
10
10
name : Build and analyze
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : s4u/setup-maven-action@v1.10.0
14
14
with :
15
- fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
16
- - name : Set up JDK
17
- uses : actions/setup-java@v3
18
- with :
19
- java-version : 17
20
- distribution : ' temurin'
21
- cache : ' maven'
15
+ checkout-fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
16
+ java-version : 21
17
+ java-distribution : ' corretto'
18
+ cache-path-add : ~/.sonar/cache
19
+ cache-prefix : ${{ runner.os }}-sonar
20
+ maven-version : 3.9.4
22
21
- name : maven-settings-xml-action
23
22
uses : whelk-io/maven-settings-xml-action@v21
24
23
with :
28
27
]'
29
28
plugin_repositories : ' [{ "id": "spring-milestone", "url": "https://repo.spring.io/milestone/"}]'
30
29
active_profiles : ' ["github"]'
31
- - name : Cache SonarCloud packages
32
- uses : actions/cache@v3
33
- with :
34
- path : ~/.sonar/cache
35
- key : ${{ runner.os }}-sonar
36
- restore-keys : ${{ runner.os }}-sonar
37
- - name : Cache Maven packages
38
- uses : actions/cache@v3
39
- with :
40
- path : ~/.m2
41
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
42
- restore-keys : ${{ runner.os }}-m2
43
30
- name : Extract Maven project version
44
31
run : |
45
32
echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >org.ligoj.api</groupId >
6
6
<artifactId >plugin-parent</artifactId >
7
- <version >4.0.5 </version >
7
+ <version >4.1.4 </version >
8
8
<relativePath />
9
9
</parent >
10
10
You can’t perform that action at this time.
0 commit comments