Check CUDA_PATH to determine if CUDA is installed and if the build job needs to run
This commit is contained in:
2
.github/workflows/rules.yml
vendored
2
.github/workflows/rules.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push'
|
||||
if: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push' && {{ $CUDA_PATH != '' }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
|
||||
Reference in New Issue
Block a user