From 3faabf69a233c6005bc6d035f3ba179fb874333c Mon Sep 17 00:00:00 2001 From: Casey Waldren Date: Fri, 27 Oct 2023 11:37:17 -0700 Subject: [PATCH] break running of hello app into two steps --- .github/actions/hello-world/action.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/hello-world/action.yml b/.github/actions/hello-world/action.yml index bc58333e2..a74b866b7 100644 --- a/.github/actions/hello-world/action.yml +++ b/.github/actions/hello-world/action.yml @@ -18,6 +18,7 @@ runs: run: ./scripts/build.sh ${{ inputs.cmake_target }} OFF - name: 'Run Hello App' shell: bash - run: | - ./${{ inputs.binary_dir }}/${{ inputs.cmake_target}} | tee output.txt - grep "Please edit" output.txt || (echo "binary did not ask for SDK key as expected" && exit 1) + run: ./${{ inputs.binary_dir }}/${{ inputs.cmake_target}} > output.txt && cat output.txt + - name: 'Inspect Output' + shell: bash + run: grep "Please edit" output.txt || (echo "binary did not ask for SDK key as expected" && exit 1)