Skip to content

Commit

Permalink
Add bash shell for [[
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang13 committed Nov 20, 2024
1 parent 506a76f commit fa95b5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/nvidia_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
fi
- name: Run script
shell: bash
run: |
if [[ "${{ github.event.inputs.filename }}" == *.cu ]]; then
echo "Compiling and running CUDA file..."
Expand All @@ -74,4 +75,4 @@ jobs:
${{ github.event.inputs.filename }}
env:
CUDA_VISIBLE_DEVICES: 0
CUDA_VISIBLE_DEVICES: 0

0 comments on commit fa95b5c

Please sign in to comment.