diff --git a/.github/actions/simeng_benchmarks/action.yml b/.github/actions/simeng_benchmarks/action.yml index e75bd74ef4..8c76bc3546 100644 --- a/.github/actions/simeng_benchmarks/action.yml +++ b/.github/actions/simeng_benchmarks/action.yml @@ -20,7 +20,7 @@ runs: run: | cd ${{ inputs.RUN_DIR }} simeng $GITHUB_WORKSPACE/configs/a64fx.yaml ${{ inputs.BIN_PATH }} 2>&1 tee $GITHUB_WORKSPACE/simeng.tmp - if (grep -sE *${{ inputs.PASS_STRING }}* $GITHUB_WORKSPACE/simeng.tmp); then + if (grep -sE \W*(${{ inputs.PASS_STRING }})\W* $GITHUB_WORKSPACE/simeng.tmp); then echo "Passed" else echo "Failed"