File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,13 @@ jobs:
14
14
- uses : actions/checkout@v3
15
15
with :
16
16
fetch-depth : 0
17
- - name : Set up Maven
18
- uses : stCarolas/setup-maven@v5
17
+ - name : Set up JDK 8
18
+ uses : actions/setup-java@v3
19
+ id : sj
19
20
with :
20
- maven-version : 3.8.2
21
+ java-version : 8
22
+ distribution : zulu
23
+ cache : maven
21
24
- uses : PeyaPeyaPeyang/nmsaction@v3
22
25
if : " steps.sj.outputs.cache-hit != 'true'"
23
26
with :
27
30
run : |
28
31
mkdir -p $HOME/.m2/repository
29
32
cp -a nms-build/.m2/repository/. $HOME/.m2/repository
33
+ - name : Retrieve the absolute path of .m2
34
+ id : m2-path
35
+ run : |
36
+ echo "m2-path=$(echo $HOME/.m2/repository)" >> $GITHUB_OUTPUT
30
37
- name : ' Qodana Scan'
31
38
uses : JetBrains/qodana-action@main
39
+ with :
40
+ args : --volume,/root/.m2/repository:${{ steps.m2-path.outputs.m2-path }}
32
41
env :
33
42
QODANA_TOKEN : ${{ secrets.QODANA_TOKEN }}
You can’t perform that action at this time.
0 commit comments