diff --git a/.github/actions/simeng_benchmarks/action.yml b/.github/actions/simeng_benchmarks/action.yml index a89d2f037b..8ac145dcdc 100644 --- a/.github/actions/simeng_benchmarks/action.yml +++ b/.github/actions/simeng_benchmarks/action.yml @@ -21,10 +21,8 @@ runs: cd ${{ inputs.RUN_DIR }} simeng $GITHUB_WORKSPACE/configs/a64fx.yaml ${{ inputs.BIN_PATH }} 2>&1 | tee $GITHUB_WORKSPACE/simeng.tmp cd $GITHUB_WORKSPACE - echo "just CDed to $GITHUB_WORKSPACE" - pwd - ls - if grep ${{ inputs.PASS_STRING }} --file=$GITHUB_WORKSPACE/simeng.tmp; then + grep ${{ inputs.PASS_STRING }} simeng.tmp | $STRING_FOUND + if $STRING_FOUND; then echo "Passed" else echo "Failed"