Skip to content

Commit

Permalink
Fix if conditional
Browse files Browse the repository at this point in the history
Change-Id: Idf7d377220ecaf08e60eeed3b8d61aad0948ae0f
  • Loading branch information
oxve committed Sep 25, 2024
1 parent df6c764 commit 90e4768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/on_device_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ runs:
- name: Print device logs
if: always()
run: |
if [[ -z "${COBALT_ERROR_LOG}" ]]; then
cat "${GITHUB_WORKSPACE}/test_results/${COBALT_ERROR_LOG}"
if ls ${COBALT_LOGS_DIR}/**/*.log 1> /dev/null 2>&1; then
cat ${COBALT_LOGS_DIR}/**/*.log
else
echo "No device logs found"
fi

0 comments on commit 90e4768

Please sign in to comment.