-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade JDK Casks to the latest versions
- Loading branch information
Showing
3 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: JDK23 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- '.github/workflows/jdk23.yml' | ||
- 'Casks/zulu-jdk23.rb' | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- '.github/workflows/jdk23.yml' | ||
- 'Casks/zulu-jdk23.rb' | ||
|
||
jobs: | ||
|
||
check: | ||
name: Check | ||
strategy: | ||
matrix: | ||
os: | ||
# macos-latest is based on arm64. | ||
- macos-latest | ||
# macos-12 is based on x64. | ||
- macos-12 | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
HOMEBREW_COLOR: 1 | ||
HOMEBREW_DEVELOPER: 1 | ||
steps: | ||
|
||
- name: Check out | ||
uses: actions/checkout@v4 | ||
|
||
- name: brew pull & reset & tap | ||
run: | | ||
brew update-reset "$(brew --repository)" | ||
brew update-reset "$(brew --repository homebrew/cask)" | ||
mkdir -p $(brew --repo)/Library/Taps/mdogan | ||
ln -s $GITHUB_WORKSPACE $(brew --repo)/Library/Taps/mdogan/homebrew-zulu | ||
- name: install jdk23 | ||
run: brew install zulu-jdk23 | ||
|
||
- name: uninstall jdk23 | ||
run: brew uninstall zulu-jdk23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
cask 'zulu-jdk23' do | ||
|
||
on_intel do | ||
version '23.28.85,23.0.0' | ||
sha256 '01a85fef022d0a87a4383844dc43fa93376e73080ddc2b4c1dbbe77c2615e920' | ||
|
||
url 'https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-macosx_x64.dmg', | ||
referer: 'https://www.azul.com/downloads/zulu-community/' | ||
|
||
depends_on macos: '>= :mojave' | ||
end | ||
on_arm do | ||
version '23.28.85,23.0.0' | ||
sha256 'cb64c3c5e54893478a0657593a22edb978e1035900cdad714408a14fe3348228' | ||
|
||
url 'https://cdn.azul.com/zulu/bin/zulu23.28.85-ca-jdk23.0.0-macosx_aarch64.dmg', | ||
referer: 'https://www.azul.com/downloads/zulu-community/' | ||
|
||
depends_on macos: '>= :big_sur' | ||
end | ||
|
||
name 'Azul Zulu® JDK 23' | ||
homepage 'https://www.azul.com/downloads/zulu-community/' | ||
|
||
pkg 'Double-Click to Install Azul Zulu JDK 23.pkg' | ||
|
||
uninstall pkgutil: 'com.azulsystems.zulu.23' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters