workflows/doctor: fix broken syntax

This commit is contained in:
Bo Anderson 2023-04-11 02:49:48 +01:00
parent 7ea4726f24
commit f0615cbf99
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -17,13 +17,14 @@ jobs:
tests:
strategy:
matrix:
runner:
- "13-arm64-${{github.run_id}}-${{github.run_attempt}}"
- "12-arm64"
- "12-${{github.run_id}}-${{github.run_attempt}}"
- "11-arm64"
- "11-${{github.run_id}}-${{github.run_attempt}}"
- "10.15-${{github.run_id}}-${{github.run_attempt}}"
include:
- runner: "13-arm64-${{github.run_id}}-${{github.run_attempt}}"
- runner: "12-arm64-${{github.run_id}}-${{github.run_attempt}}"
- runner: "12-${{github.run_id}}-${{github.run_attempt}}"
- runner: "11-arm64"
cleanup: true
- runner: "11-${{github.run_id}}-${{github.run_attempt}}"
- runner: "10.15-${{github.run_id}}-${{github.run_attempt}}"
fail-fast: false
runs-on: ${{ matrix.runner }}
env:
@ -37,9 +38,9 @@ jobs:
uses: Homebrew/actions/setup-homebrew@master
- run: brew test-bot --only-cleanup-before
if: !contains(matrix.runner, github.run_id)
if: matrix.cleanup
- run: brew doctor
- run: brew test-bot --only-cleanup-after
if: always() && !contains(matrix.runner, github.run_id)
if: always() && matrix.cleanup