-
Notifications
You must be signed in to change notification settings - Fork 25
48 lines (41 loc) · 1.04 KB
/
jdk10.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: JDK10
on:
push:
branches:
- master
paths:
- '.github/workflows/jdk10.yml'
- 'Casks/zulu-jdk10.rb'
pull_request:
branches:
- master
paths:
- '.github/workflows/jdk10.yml'
- 'Casks/zulu-jdk10.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 jdk10
run: brew install zulu-jdk10
- name: uninstall jdk10
run: brew uninstall zulu-jdk10