File tree Expand file tree Collapse file tree 5 files changed +33
-12
lines changed
Expand file tree Collapse file tree 5 files changed +33
-12
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 buildTest :
1111 name : Build & Test JDK ${{ matrix.java_version }}
12- runs-on : macOS-latest
12+ runs-on : macOS-13
1313 strategy :
1414 matrix :
1515 java_version : [ 17 ]
Original file line number Diff line number Diff line change 1+ name : Update Gradle Wrapper
2+
3+ on :
4+ schedule :
5+ - cron : " 15 6 * * WED"
6+
7+ jobs :
8+ update-gradle-wrapper :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v4
13+ - name : Install JDK
14+ uses : actions/setup-java@v4
15+ with :
16+ distribution : " adopt"
17+ java-version : 17
18+ - name : Update Gradle Wrapper
19+ uses :
gradle-update/[email protected] 20+ with :
21+ set-distribution-checksum : false
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.4 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343%JAVA_EXE% -version > NUL 2 >& 1
4444if %ERRORLEVEL% equ 0 goto execute
4545
46- echo .
47- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48- echo .
49- echo Please set the JAVA_HOME variable in your environment to match the
50- echo location of your Java installation.
46+ echo . 1 >& 2
47+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1 >& 2
48+ echo . 1 >& 2
49+ echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
50+ echo location of your Java installation. 1 >& 2
5151
5252goto fail
5353
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757
5858if exist " %JAVA_EXE% " goto execute
5959
60- echo .
61- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62- echo .
63- echo Please set the JAVA_HOME variable in your environment to match the
64- echo location of your Java installation.
60+ echo . 1 >& 2
61+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1 >& 2
62+ echo . 1 >& 2
63+ echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
64+ echo location of your Java installation. 1 >& 2
6565
6666goto fail
6767
You can’t perform that action at this time.
0 commit comments