Skip to content

Commit

Permalink
Fix skipping because of empty matrix (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Feb 12, 2024
1 parent b29d90b commit 3d4847f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,13 @@ jobs:
# Output matrix to a file
echo matrix=$matrix >> $GITHUB_OUTPUT
- name: 🧪 Display generated matrix
run: |
echo "${{ steps.prepare-matrix.outputs.matrix }}"
build:
name: ${{ matrix.firmware }} / ${{ matrix.device }}
if: ${{ needs.prepare.outputs.matrix != '' }}
if: ${{ needs.prepare.outputs.matrix != '{"include":[]}' }}
runs-on: ubuntu-latest
needs: prepare
strategy:
Expand Down

0 comments on commit 3d4847f

Please sign in to comment.