File tree Expand file tree Collapse file tree 6 files changed +11
-8
lines changed
Expand file tree Collapse file tree 6 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v4
1515
16- - name : Set up JDK 21
16+ - name : Set up JDK 17
1717 uses : actions/setup-java@v3
1818 with :
19- java-version : " 21 "
19+ java-version : " 17 "
2020 distribution : " temurin"
2121 cache : maven
2222
@@ -27,10 +27,10 @@ jobs:
2727 TEST_COGNITO_USERNAME : ${{ secrets.TEST_COGNITO_USERNAME }}
2828 TEST_COGNITO_PASSWORD : ${{ secrets.TEST_COGNITO_PASSWORD }}
2929 run : >
30- mvn -B test --file pom.xml
30+ mvn -B -Dfile.encoding=UTF-8 test --file pom.xml
3131
3232 - name : Generate test report
3333 run : >
34- mvn -B
34+ mvn -B -Dfile.encoding=UTF-8
3535 site -DgenerateReports=false
3636 surefire-report:report-only
Original file line number Diff line number Diff line change 1+ 17
Original file line number Diff line number Diff line change 1515 " bouncycastle" ,
1616 " cognitoidentityprovider" ,
1717 " Dfile" ,
18+ " Dgenerate" ,
1819 " fiware" ,
20+ " jenv" ,
1921 " jitpack" ,
2022 " libexec" ,
2123 " makeour" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Set `xxxx.code-workspace` env and use it.
1717``` json
1818{
1919 "settings" : {
20- "java.jdt.ls.java.home" : " /opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home " ,
20+ "java.jdt.ls.java.home" : " /Users/xxxx/.jenv/versions/17 " ,
2121 "java.test.config" : {
2222 "env" : {
2323 "TEST_COGNITO_USER_POOL_ID" : " " ,
Original file line number Diff line number Diff line change 77 "settings" : {
88 "files.autoGuessEncoding" : true ,
99 "files.encoding" : " utf8" ,
10- "java.jdt.ls.java.home" : " /opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home " ,
10+ "java.jdt.ls.java.home" : " /Users/xxxx/.jenv/versions/17 " ,
1111 "java.jdt.ls.vmargs" : " -Dfile.encoding=UTF-8" ,
1212 "java.configuration.updateBuildConfiguration" : " interactive" ,
1313 "java.test.config" : {
Original file line number Diff line number Diff line change 1616
1717 <properties >
1818 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
19- <maven .compiler.source>21 </maven .compiler.source>
20- <maven .compiler.target>21 </maven .compiler.target>
19+ <maven .compiler.source>17 </maven .compiler.source>
20+ <maven .compiler.target>17 </maven .compiler.target>
2121 </properties >
2222
2323 <repositories >
You can’t perform that action at this time.
0 commit comments