Skip to content

Commit

Permalink
break running of hello app into two steps
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Oct 27, 2023
1 parent a8a9998 commit 3faabf6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/actions/hello-world/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3faabf6

Please sign in to comment.