1
Fork 0

Fix empty job matrix

This commit is contained in:
Jakub Beránek 2024-04-23 08:59:45 +02:00
parent 162892b030
commit 2632c6139d
No known key found for this signature in database
GPG key ID: 909CD0D26483516B
2 changed files with 9 additions and 0 deletions

View file

@ -63,6 +63,7 @@ jobs:
strategy:
matrix:
include: "${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}"
if: "fromJSON(needs.calculate_matrix.outputs.jobs)[0] != null"
defaults:
run:
shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}"