File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,20 @@ jobs:
2626 strategy :
2727 fail-fast : false
2828 matrix : ${{ fromJSON(inputs.build-matrix) }}
29- name : test-${{ matrix.cuda-version }}
30- if : ${{ inputs.build-result == 'success' }}
29+ name : test-${{ inputs.build-matrix.cuda-version }}
3130 outputs :
3231 result : ${{ steps.test-step.outputs.result }}
3332 steps :
34- - name : Test with CUDA ${{ matrix.cuda-version }}
33+ - name : Test with CUDA ${{ inputs.build- matrix.cuda-version }}
3534 id : test-step
35+ if : ${{ inputs.build-result == 'success' }}
3636 run : |
3737 set -euo pipefail
38- echo "Testing with CUDA ${{ matrix.cuda-version }}"
39- if [ "${{ matrix.cuda-version }}" == "12.8" ]; then
38+ echo "Testing with CUDA ${{ inputs.build- matrix.cuda-version }}"
39+ if [ "${{ inputs.build- matrix.cuda-version }}" == "12.8" ]; then
4040 echo "Testing with CUDA 12.8 is not supported"
4141 echo "result=failure" >> $GITHUB_OUTPUT
4242 exit -1
4343 fi
44- echo "Testing with CUDA ${{ matrix.cuda-version }} successfully completed"
44+ echo "Testing with CUDA ${{ inputs.build- matrix.cuda-version }} successfully completed"
4545 echo "result=success" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments