From 0a3ac9dac4e6bab2b8c8375c69e391e11d2ec8a9 Mon Sep 17 00:00:00 2001 From: Robin Wallin Date: Mon, 2 Sep 2024 12:48:52 +0200 Subject: [PATCH] Fix "Matrix must define at least one vector" Skip running the job if `bin/missing-versions` yield an empty array. --- .github/workflows/build-all-and-upload.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-all-and-upload.yml b/.github/workflows/build-all-and-upload.yml index 0896ba1..11630d5 100644 --- a/.github/workflows/build-all-and-upload.yml +++ b/.github/workflows/build-all-and-upload.yml @@ -30,6 +30,7 @@ jobs: build-and-upload: needs: missing-versions + if: ${{ needs.missing-versions.outputs.matrix != '[]' }} runs-on: ubuntu-latest strategy: max-parallel: 10