Reuse cask check actions #39
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
name: JDK7 | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/reusable-cask-checks.yml' | |
- 'Casks/zulu-jdk7.rb' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/reusable-cask-checks.yml' | |
- 'Casks/zulu-jdk7.rb' | |
jobs: | |
# This step is necessary for using `./github/workflows/*.yml` on the current branch, and it could be run on `ubuntu-latest`. | |
checkout: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
check: | |
needs: checkout | |
uses: ./.github/workflows/reusable-cask-checks.yml | |
with: | |
jdk-version: 7 |