From cf9c8c4ec88cb935709fc8228edf8b787be7a6f9 Mon Sep 17 00:00:00 2001 From: Jake Hemstad Date: Tue, 30 May 2023 08:30:49 -0500 Subject: [PATCH] Attempt to pass per CUDA matrix to nested workflow. --- .github/workflows/per_cuda.yml | 2 ++ .github/workflows/test_new_workflow.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/per_cuda.yml b/.github/workflows/per_cuda.yml index 6494bbcf24..5fb6404bc5 100644 --- a/.github/workflows/per_cuda.yml +++ b/.github/workflows/per_cuda.yml @@ -9,6 +9,8 @@ on: jobs: per_cuda: runs-on: ubuntu-latest + strategy: + matrix: ${{ fromJSON(inputs.per_cuda_matrix) }} steps: - name: test run: | diff --git a/.github/workflows/test_new_workflow.yml b/.github/workflows/test_new_workflow.yml index bde1e7179e..9f6ec3d6bd 100644 --- a/.github/workflows/test_new_workflow.yml +++ b/.github/workflows/test_new_workflow.yml @@ -45,4 +45,4 @@ jobs: matrix: cuda_version: ${{ fromJSON(needs.compute-matrix.outputs.CUDA_VERSIONS) }} with: - per_cuda_matrix: ${{ needs.compute-matrix.outputs.PER_CUDA_MATRIX }} \ No newline at end of file + per_cuda_matrix: ${{ fromJSON(needs.compute-matrix.outputs.PER_CUDA_MATRIX)[matrix.cuda_version] }} \ No newline at end of file