fix: perftest upload

(cherry picked from commit 76ddf7a5b2836cf4153e36f28dd2675f5ef8a735)
This commit is contained in:
Vicente Adolfo Bolea Sanchez 2024-06-21 12:32:29 -04:00
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
# that in Gitlab CI Variables for protected branches are also defined in MR
# 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)
endif()