diff --git a/.github/workflows/build_base.yml b/.github/workflows/build_base.yml index cc7e13f..fd2e3a1 100644 --- a/.github/workflows/build_base.yml +++ b/.github/workflows/build_base.yml @@ -57,7 +57,7 @@ jobs: run: echo "CUDA_VERSION=${{github.event.inputs.cuda_version || env.CUDA_VERSION_DEFAULT}}" >> $GITHUB_ENV - name: set short CUDA version id: cuda_short - run: echo "CUDA_VERSION_SHORT=${{github.event.inputs.cuda_version || env.CUDA_VERSION_DEFAULT}%.*}" >> $GITHUB_ENV + run: echo "CUDA_VERSION_SHORT=${{github.event.inputs.cuda_version%.* || env.CUDA_VERSION_DEFAULT%.*}}" >> $GITHUB_ENV - name: set CUDNN version id: cudnn