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