Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pinned casks and workflows #79

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/jdk12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: JDK12
on:
push:
branches:
- '**'
- master
paths:
- '.github/workflows/jdk12.yml'
- 'Casks/zulu-jdk12.rb'
Expand All @@ -16,9 +16,16 @@ on:

jobs:

build:
name: Build
runs-on: macos-latest
check:
name: Check
strategy:
matrix:
os:
# macos-latest is based on arm64.
- macos-latest
# macos-13 is based on x64.
- macos-13
runs-on: ${{ matrix.os }}
env:
HOMEBREW_COLOR: 1
HOMEBREW_DEVELOPER: 1
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/jdk20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,19 @@ on:

jobs:

build:
name: Build
runs-on: macos-latest
check:
name: Check
strategy:
matrix:
os:
# macos-latest is based on arm64.
- macos-latest
# macos-13 is based on x64.
- macos-13
runs-on: ${{ matrix.os }}
env:
HOMEBREW_COLOR: 1
HOMEBREW_DEVELOPER: 1
steps:

- name: Check out
Expand All @@ -30,9 +40,6 @@ jobs:
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
env:
HOMEBREW_COLOR: 1
HOMEBREW_DEVELOPER: 1

- name: install jdk20
run: brew install zulu-jdk20
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/mc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,27 @@ on:
branches:
- master
paths:
- '.github/workflows/mc.yml'
- 'Casks/zulu-mc.rb'
pull_request:
branches:
- master
paths:
- '.github/workflows/mc.yml'
- 'Casks/zulu-mc.rb'

jobs:

build:
name: Build
runs-on: macos-latest
check:
name: Check
strategy:
matrix:
os:
# macos-latest is based on arm64.
- macos-latest
# macos-13 is based on x64.
- macos-13
runs-on: ${{ matrix.os }}
env:
HOMEBREW_COLOR: 1
HOMEBREW_DEVELOPER: 1
Expand Down
5 changes: 3 additions & 2 deletions Casks/zulu-jdk20.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
cask 'zulu-jdk20' do

if Hardware::CPU.intel?
on_intel do
version '20.32.11,20.0.2'
sha256 '6f02981801832230edd0a0091b8de10873d3271cd7cc4d7a9ed439b046fa4b1f'

url 'https://cdn.azul.com/zulu/bin/zulu20.32.11_1-ca-jdk20.0.2-macosx_x64.dmg',
referer: 'https://www.azul.com/downloads/zulu-community/'

depends_on macos: '>= :mojave'
else
end
on_arm do
version '20.32.11,20.0.2'
sha256 'c5c196a0a25eca25a22edee325ff8ee2cd96aa9bfdee0ca3554dfbfd31dba8df'

Expand Down
8 changes: 4 additions & 4 deletions Casks/zulu-mc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name 'Zulu® Mission Control'
homepage 'https://www.azul.com/products/zulu-mission-control/'

if Hardware::CPU.intel?
on_intel do
version '8.3.1.81-ca'
sha256 :no_check

Expand All @@ -13,8 +13,8 @@
depends_on macos: '>= :mojave'

app "zmc#{version}-macos_x64/Azul Mission Control.app"

else
end
on_arm do
version '8.3.1.81-ca'
sha256 :no_check

Expand All @@ -24,6 +24,6 @@
depends_on macos: '>= :big_sur'

app "zmc#{version}-macos_aarch64/Azul Mission Control.app"
end
end

end
Loading