mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-08 03:18:58 +00:00
fix: perftest upload
(cherry picked from commit 76ddf7a5b2836cf4153e36f28dd2675f5ef8a735)
This commit is contained in:
parent
1078d7dfb4
commit
638d183567
@ -80,7 +80,7 @@ function(add_benchmark_test benchmark)
|
|||||||
# if VTKM_BENCH_RECORDS_TOKEN is either defined or non-empty, the reason is
|
# if VTKM_BENCH_RECORDS_TOKEN is either defined or non-empty, the reason is
|
||||||
# that in Gitlab CI Variables for protected branches are also defined in MR
|
# that in Gitlab CI Variables for protected branches are also defined in MR
|
||||||
# from forks, however, they are empty.
|
# from forks, however, they are empty.
|
||||||
if (DEFINED ENV{VTKM_BENCH_RECORDS_TOKEN} AND ENV{VTKM_BENCH_RECORDS_TOKEN})
|
if (DEFINED ENV{VTKM_BENCH_RECORDS_TOKEN} AND NOT $ENV{VTKM_BENCH_RECORDS_TOKEN} STREQUAL "")
|
||||||
set(enable_upload TRUE)
|
set(enable_upload TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user