summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2023-05-05 13:55:41 +0200
committerRémi Flamary <remi.flamary@gmail.com>2023-05-05 13:55:41 +0200
commitf66299880f30240c55ffaa4ad5f85829f3b5b360 (patch)
tree187b2ef6d0747e192c688ad86d8ce9e3da62d3fe
parent5693a88bc3a8c36f8ac4fdacc419ff2574d1b7bb (diff)
fix condition cuda tests
-rw-r--r--.github/workflows/build_tests_cuda.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build_tests_cuda.yml b/.github/workflows/build_tests_cuda.yml
index f1c2962..693d247 100644
--- a/.github/workflows/build_tests_cuda.yml
+++ b/.github/workflows/build_tests_cuda.yml
@@ -12,7 +12,7 @@ jobs:
linux-cuda:
runs-on: pc-cuda
- if: github.event.review.state == 'approved' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.event.branch == 'master')
+ if: github.event.review.state == 'approved' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master')
steps:
- uses: actions/checkout@v1