Skip to content

Commit

Permalink
Support running on ARM64 machines (#73)
Browse files Browse the repository at this point in the history
* Support running on ARM64 machines

Closes #63
Closes #64
Closes #71
  • Loading branch information
sormuras authored Feb 1, 2024
1 parent 6f612ef commit c9a099b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/manual-uri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
options:
- 'ubuntu-latest'
- 'macos-latest'
- 'macos-14'
- 'windows-latest'
uri:
description: 'URI of JDK archive file to download'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-website-release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fail-fast: false
max-parallel: 3
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
os: [ ubuntu-latest, macos-latest, macos-14, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: 'Check out repository'
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ This project uses tags and branches for [release management](https://docs.github


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

## [1.3.3] - 2024-01-29
### Changed
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ runs:
shell: bash
run: |
JAVA=$JAVA_HOME_17_X64/bin/java
if [ ! -d "$JAVA_HOME_17_X64" ]; then
JAVA=$JAVA_HOME_17_arm64/bin/java
fi
$JAVA --version
DOWNLOAD=$GITHUB_ACTION_PATH/src/Download.java
if [ ! -z "${{ inputs.uri }}" ]; then
$JAVA \
Expand Down

0 comments on commit c9a099b

Please sign in to comment.