From cfa6c1b46b172eff98bd70ea89fccbaeb9fdb112 Mon Sep 17 00:00:00 2001 From: Frank Lee Date: Tue, 31 May 2022 10:43:18 +0800 Subject: [PATCH] [ci] fixed nightly build workflow (#1040) --- .github/workflows/release_nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 9651209a0..9014b1290 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -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)}"