Skip to content

Commit

Permalink
Attempt to pass per CUDA matrix to nested workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhemstad committed May 30, 2023
1 parent ba038ff commit cf9c8c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/per_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
jobs:
per_cuda:
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJSON(inputs.per_cuda_matrix) }}
steps:
- name: test
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_new_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
per_cuda_matrix: ${{ fromJSON(needs.compute-matrix.outputs.PER_CUDA_MATRIX)[matrix.cuda_version] }}

0 comments on commit cf9c8c4

Please sign in to comment.