workflows/doctor: skip unnecessary steps

Based on discussion from #14172.
This commit is contained in:
Carlo Cabrera 2022-11-24 22:44:56 +08:00
parent 9c88c39bae
commit 2c1572c44c
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -38,8 +38,9 @@ jobs:
uses: Homebrew/actions/setup-homebrew@master
- run: brew test-bot --only-cleanup-before
if: !contains(matrix.runner, github.run_id)
- run: brew test-bot --only-setup
- run: brew doctor
- run: brew test-bot --only-cleanup-after
if: always()
if: always() && !contains(matrix.runner, github.run_id)