about summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2024-04-23 08:59:45 +0200
committerJakub Beránek <berykubik@gmail.com>2024-04-23 09:01:51 +0200
commit2632c6139d9b1a7ca7be4da1924e7a78edfa452c (patch)
tree59656bd29d79340ebba30930d35fa387d4de9a63 /.github/workflows
parent162892b030b95aa8ad422212a82457d940b15a4b (diff)
downloadrust-2632c6139d9b1a7ca7be4da1924e7a78edfa452c.tar.gz
rust-2632c6139d9b1a7ca7be4da1924e7a78edfa452c.zip
Fix empty job matrix
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 670a2854fed..872b671b031 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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' }}"