Unverified Commit cfa6c1b4 authored by Frank Lee's avatar Frank Lee Committed by GitHub
Browse files

[ci] fixed nightly build workflow (#1040)

parent 9feff0f7
......@@ -9,10 +9,10 @@ on:
cuda_version:
type: choice
description: CUDA Version
default: 'all'
default: "all"
required: true
options:
- all
- "all"
- "11.3"
- "10.2"
jobs:
......@@ -25,7 +25,7 @@ jobs:
- id: set-matrix
run: |
[ "${{github.event.inputs.cuda_version}}" != "all" ] && matrix="[\"hpcaitech/cuda-conda:${{github.event.inputs.cuda_version}}\"]"
[ "${{github.event.inputs.cuda_version}}" == "all" ] && matrix="[\"hpcaitech/cuda-conda:11.3\", \"hpcaitech/cuda-conda:10.2\"]"
[ "${{github.event.inputs.cuda_version}}" == "all" || "${{github.event.inputs.cuda_version}}" == "" ] && matrix="[\"hpcaitech/cuda-conda:11.3\", \"hpcaitech/cuda-conda:10.2\"]"
echo $matrix
echo "::set-output name=matrix::{\"container\":$(echo $matrix)}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment