Skip to content

Commit

Permalink
install cuda when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
robandpdx committed Mar 27, 2024
1 parent 3cc4dde commit 6de2370
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/actions/build_conda/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ runs:
run: |
conda install -y -q anaconda-client
conda config --set anaconda_upload yes
- name: Install CUDA toolkit
if: inputs.cuda != ''
uses: Jimver/[email protected]
with:
cuda: ${{ inputs.cuda }}
use-github-cache: false
use-local-cache: false
- name: Conda build (CPU)
if: inputs.label == '' && inputs.cuda == ''
shell: ${{ steps.choose_shell.outputs.shell }}
Expand Down

0 comments on commit 6de2370

Please sign in to comment.