Add if pre-condition to builds

This commit is contained in:
Scott Shawcroft 2021-09-10 07:30:29 -07:00 committed by GitHub
parent 0ee0ed7035
commit 832e608d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -228,6 +228,7 @@ jobs:
fail-fast: false
matrix:
board: ${{ fromJSON(needs.test.outputs.arm-boards) }}
if: ${{ needs.test.outputs.arm-boards != '[]' }}
steps:
- name: Set up Python 3.8
@ -278,6 +279,7 @@ jobs:
fail-fast: false
matrix:
board: ${{ fromJSON(needs.test.outputs.riscv-boards) }}
if: ${{ needs.test.outputs.riscv-boards != '[]' }}
steps:
- name: Set up Python 3.8
@ -327,6 +329,7 @@ jobs:
fail-fast: false
matrix:
board: ${{ fromJSON(needs.test.outputs.xtensa-boards) }}
if: ${{ needs.test.outputs.xtensa-boards != '[]' }}
steps:
- name: Set up Python 3.8