brew tap-new: tests.yml workflow fails with casks

Running `brew test-bot --only-tap-syntax` fails on `ubuntu-latest` if any casks are added later to the tap, since casks are macOS only.
This commit is contained in:
Nuno Cruces 2021-06-08 13:09:27 +01:00 committed by GitHub
parent 99702b2475
commit 20d59effd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,7 @@ module Homebrew
- run: brew test-bot --only-setup - run: brew test-bot --only-setup
- run: brew test-bot --only-tap-syntax - run: brew test-bot --only-tap-syntax
if: matrix.os == 'macos-latest'
- run: brew test-bot --only-formulae - run: brew test-bot --only-formulae
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'