From d4ee65ad626e9256a8a2fc38570744350d6898b1 Mon Sep 17 00:00:00 2001 From: Alex Cockrean <84676155+ABenC377@users.noreply.github.com> Date: Thu, 24 Oct 2024 23:31:02 +0100 Subject: [PATCH] Playing with benchmarks script --- .github/actions/simeng_benchmarks/action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/simeng_benchmarks/action.yml b/.github/actions/simeng_benchmarks/action.yml index 7bd08f8137..333cffc38b 100644 --- a/.github/actions/simeng_benchmarks/action.yml +++ b/.github/actions/simeng_benchmarks/action.yml @@ -20,8 +20,7 @@ runs: run: | cd ${{ inputs.RUN_DIR }} simeng $GITHUB_WORKSPACE/configs/a64fx.yaml ${{ inputs.BIN_PATH }} 2>&1 tee $GITHUB_WORKSPACE/simeng.tmp - STRING_FOUND=$(grep -s ${{ inputs.PASS_STRING }} $GITHUB_WORKSPACE/simeng.tmp) - if $STRING_FOUND; then + if (grep -s ${{ inputs.PASS_STRING }} $GITHUB_WORKSPACE/simeng.tmp); then echo "Passed" else echo "Failed"