"git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "424629fea023a83aa84eacf55afc8007314d9f54"
Unverified Commit 58a7dd2e authored by Frank Lee's avatar Frank Lee Committed by GitHub
Browse files

[ci] fixed nightly build workflow (#1022)

* [ci] fixed nightly build workflow

* [ci] fixed nightly build workflow

* [ci] fixed nightly build workflow
parent 1a76c88a
...@@ -29,7 +29,7 @@ jobs: ...@@ -29,7 +29,7 @@ jobs:
- id: set-matrix - id: set-matrix
run: | run: |
[ "${{github.event.inputs.cuda_version}}" != "" ] && matrix="[\"hpcaitech/cuda-conda:${{github.event.inputs.cuda_version}}\"]" [ "${{github.event.inputs.cuda_version}}" != "" ] && matrix="[\"hpcaitech/cuda-conda:${{github.event.inputs.cuda_version}}\"]"
[ "${{github.event.inputs.cuda_version}}" == "" ] || [ "${{github.event.inputs.version}}" == "all" ] && \ [ "${{github.event.inputs.cuda_version}}" == "" ] || [ "${{github.event.inputs.cuda_version}}" == "all" ] && \
matrix="[\"hpcaitech/cuda-conda:11.3\", \"hpcaitech/cuda-conda:11.1\", \"hpcaitech/cuda-conda:10.2\"]" matrix="[\"hpcaitech/cuda-conda:11.3\", \"hpcaitech/cuda-conda:11.1\", \"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)}"
......
...@@ -24,9 +24,8 @@ jobs: ...@@ -24,9 +24,8 @@ jobs:
steps: steps:
- id: set-matrix - id: set-matrix
run: | run: |
[ "${{github.event.inputs.cuda_version}}" != "" ] && 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}}" == "" ] || [ "${{github.event.inputs.version}}" == "all" ] && \ [ "${{github.event.inputs.cuda_version}}" == "all" ] && matrix="[\"hpcaitech/cuda-conda:11.3\", \"hpcaitech/cuda-conda:10.2\"]"
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)}"
...@@ -66,6 +65,7 @@ jobs: ...@@ -66,6 +65,7 @@ jobs:
password: ${{ secrets.PRIVATE_PYPI_PASSWD }} password: ${{ secrets.PRIVATE_PYPI_PASSWD }}
remove_old_build: remove_old_build:
name: Remove old nightly build name: Remove old nightly build
runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- name: executing remote ssh commands using password - name: executing remote ssh commands using password
......
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