From 07e2190f9648ff3fbee3c07383aabc3279bdc329 Mon Sep 17 00:00:00 2001 From: Balaji Arun Date: Fri, 1 Nov 2024 14:38:27 -0700 Subject: [PATCH] [gha] fix forge stable parallelism bug --- .github/workflows/forge-stable.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/forge-stable.yaml b/.github/workflows/forge-stable.yaml index dd9bf0c70b7758..a677c21f04ad2a 100644 --- a/.github/workflows/forge-stable.yaml +++ b/.github/workflows/forge-stable.yaml @@ -209,7 +209,7 @@ jobs: if: ${{ github.event_name != 'pull_request' }} strategy: fail-fast: false - max-parallel: ${{ fromJson(inputs.JOB_PARALLELISM) || 1 }} + max-parallel: ${{ inputs.JOB_PARALLELISM && fromJson(inputs.JOB_PARALLELISM) || 1 }} matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }} uses: aptos-labs/aptos-core/.github/workflows/workflow-run-forge.yaml@main secrets: inherit