Skip to content

Commit

Permalink
WIP better workflow output
Browse files Browse the repository at this point in the history
  • Loading branch information
mguaypaq committed Jul 27, 2023
1 parent 06146ea commit c79c2a0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/run_batch_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,14 @@ jobs:
- name: Output full log for sanity checking
run: |
cd "${{ github.event.repository.name }}/multi_subject/output/log"
pwd
tree
cat process_data_sub-01.log || true
for logfile in process_data_sub-01.log err.process_data_sub-01.log; do
if [[ -e "${logfile}" ]]; then
echo "=== Contents of ${logfile} ==="
cat "${logfile}"
else
echo "=== No file ${logfile} ==="
fi
done
- name: Check that script executed without error
run: |
Expand Down

0 comments on commit c79c2a0

Please sign in to comment.