From 032c08e803ad5fa6d2fb04d7031b5f4383cd8f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Mon, 10 Apr 2023 21:01:03 +0200 Subject: [PATCH] Update build-images.yml --- .github/workflows/build-images.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 5d1acf8c..bcf08295 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -19,6 +19,9 @@ on: version: required: false type: string + parallel: + required: false + type: string board: required: false type: string @@ -111,7 +114,7 @@ jobs: if: ${{ needs.prepare.outputs.matrix != '[]' && needs.prepare.outputs.matrix != '' }} timeout-minutes: 120 strategy: - max-parallel: 16 # we are running 6 chunks which comes to 96 parallel builds (could be too much) + max-parallel: "${{ needs.prepare.outputs.parallel || '16' }}" # we are running 6 chunks which comes to 96 parallel builds (could be too much) fail-fast: false # let other jobs try to complete if one fails matrix: include: ${{ fromJSON(needs.prepare.outputs.matrix) }}