Minor fix to the use of env for CUDA_PATH in the workflow
This commit is contained in:
4
.github/workflows/rules.yml
vendored
4
.github/workflows/rules.yml
vendored
@@ -2,7 +2,7 @@
|
|||||||
name: Tests
|
name: Tests
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CUDA_PATH: echo $CUDA_PATH
|
CUDA_PATH:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -11,7 +11,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push' && github.env.CUDA_PATH != ''
|
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push' }} && env.CUDA_PATH != ''
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
|
|||||||
Reference in New Issue
Block a user