Skip to content

Commit c9a099b

Browse files
authored
Support running on ARM64 machines (#73)
* Support running on ARM64 machines Closes #63 Closes #64 Closes #71
1 parent 6f612ef commit c9a099b

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.github/workflows/manual-uri.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
options:
1010
- 'ubuntu-latest'
1111
- 'macos-latest'
12+
- 'macos-14'
1213
- 'windows-latest'
1314
uri:
1415
description: 'URI of JDK archive file to download'

.github/workflows/manual-website-release-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
max-parallel: 3
3434
matrix:
35-
os: [ ubuntu-latest, macos-latest, windows-latest ]
35+
os: [ ubuntu-latest, macos-latest, macos-14, windows-latest ]
3636
runs-on: ${{ matrix.os }}
3737
steps:
3838
- name: 'Check out repository'

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ This project uses tags and branches for [release management](https://docs.github
66

77

88
## [Unreleased]
9-
_nothing noteworthy, yet_
9+
### Fixed
10+
- Support running on ARM64 machines [#63](https://github.com/oracle-actions/setup-java/issues/63)
1011

1112
## [1.3.3] - 2024-01-29
1213
### Changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ runs:
4747
shell: bash
4848
run: |
4949
JAVA=$JAVA_HOME_17_X64/bin/java
50+
if [ ! -d "$JAVA_HOME_17_X64" ]; then
51+
JAVA=$JAVA_HOME_17_arm64/bin/java
52+
fi
53+
$JAVA --version
5054
DOWNLOAD=$GITHUB_ACTION_PATH/src/Download.java
5155
if [ ! -z "${{ inputs.uri }}" ]; then
5256
$JAVA \

0 commit comments

Comments
 (0)