Skip to content

Minor tweaks

Minor tweaks #23

Workflow file for this run

name: JDK12
on:
push:
branches:
- '**'
paths:
- '.github/workflows/jdk12.yml'
- 'Casks/zulu-jdk12.rb'
pull_request:
branches:
- master
paths:
- '.github/workflows/jdk12.yml'
- 'Casks/zulu-jdk12.rb'
jobs:
build:
name: Build
runs-on: macos-latest
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 jdk12
run: brew install zulu-jdk12
- name: uninstall jdk12
run: brew uninstall zulu-jdk12