File tree 5 files changed +9
-8
lines changed
5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v4
14
- - run : $JAVA_HOME_17_X64 /bin/java --show-version src/ListOpenJavaDevelopmentKits.java ${{ github.event.inputs.name }}
14
+ - run : $JAVA_HOME_21_X64 /bin/java --show-version src/ListOpenJavaDevelopmentKits.java ${{ github.event.inputs.name }}
Original file line number Diff line number Diff line change 10
10
steps :
11
11
- run : curl --output /dev/null --verbose --head --fail https://jdk.java.net
12
12
- uses : actions/checkout@v4
13
- - run : $JAVA_HOME_17_X64 /bin/java src/ListOpenJavaDevelopmentKits.java > jdk.java.net-uri.properties
13
+ - run : $JAVA_HOME_21_X64 /bin/java src/ListOpenJavaDevelopmentKits.java > jdk.java.net-uri.properties
14
14
- run : |
15
15
git diff
16
16
git config user.name github_actions_dev
Original file line number Diff line number Diff line change 15
15
- name : ' Compile and run test'
16
16
shell : bash
17
17
run : |
18
- PATH=$JAVA_HOME_17_X64 /bin:$PATH
18
+ PATH=$JAVA_HOME_21_X64 /bin:$PATH
19
19
javac -d classes src/Download.java test/Test.java
20
20
java -cp classes Test
21
21
validate :
27
27
- name : ' Run validation program'
28
28
shell : bash
29
29
run : |
30
- PATH=$JAVA_HOME_17_X64 /bin:$PATH
30
+ PATH=$JAVA_HOME_21_X64 /bin:$PATH
31
31
java test/Validate.java
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ This project uses tags and branches for [release management](https://docs.github
7
7
8
8
## [ Unreleased]
9
9
### Fixed
10
- - Support running on ARM64 machines [ # 63 ] ( https://github.com/oracle-actions/setup-java/issues/63 )
10
+ - Support running on ARM64 machines
11
11
### Changed
12
12
- Default value of ` release ` input to Java ` 22 `
13
+ - Run action with pre-installed Java 21
13
14
14
15
## [ 1.3.3] - 2024-01-29
15
16
### Changed
Original file line number Diff line number Diff line change 46
46
id : download
47
47
shell : bash
48
48
run : |
49
- JAVA=$JAVA_HOME_17_X64 /bin/java
50
- if [ ! -d "$JAVA_HOME_17_X64 " ]; then
51
- JAVA=$JAVA_HOME_17_arm64 /bin/java
49
+ JAVA=$JAVA_HOME_21_X64 /bin/java
50
+ if [ ! -d "$JAVA_HOME_21_X64 " ]; then
51
+ JAVA=$JAVA_HOME_21_arm64 /bin/java
52
52
fi
53
53
$JAVA --version
54
54
DOWNLOAD=$GITHUB_ACTION_PATH/src/Download.java
You can’t perform that action at this time.
0 commit comments