mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-03 04:39:43 +00:00
[ci] fixed nightly build workflow (#1040)
This commit is contained in:
parent
9feff0f760
commit
cfa6c1b46b
6
.github/workflows/release_nightly.yml
vendored
6
.github/workflows/release_nightly.yml
vendored
@ -9,10 +9,10 @@ on:
|
|||||||
cuda_version:
|
cuda_version:
|
||||||
type: choice
|
type: choice
|
||||||
description: CUDA Version
|
description: CUDA Version
|
||||||
default: 'all'
|
default: "all"
|
||||||
required: true
|
required: true
|
||||||
options:
|
options:
|
||||||
- all
|
- "all"
|
||||||
- "11.3"
|
- "11.3"
|
||||||
- "10.2"
|
- "10.2"
|
||||||
jobs:
|
jobs:
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
- id: set-matrix
|
- id: set-matrix
|
||||||
run: |
|
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:${{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 $matrix
|
||||||
echo "::set-output name=matrix::{\"container\":$(echo $matrix)}"
|
echo "::set-output name=matrix::{\"container\":$(echo $matrix)}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user