Skip to content

Commit

Permalink
integration: try to log TICSQServer logs at end of workflow.
Browse files Browse the repository at this point in the history
Signed-off-by: Nashwan Azhari <[email protected]>
  • Loading branch information
Nashwan Azhari committed Dec 13, 2024
1 parent 1d2a5a6 commit 84b654f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/tiobe-tics-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,17 @@ jobs:
cd $GITHUB_WORKSPACE
TICSQServer -project k8s-operator -tmpdir /tmp/tics -branchdir "$GITHUB_WORKSPACE"
- name: Print TICSQServer Logs
if: always()
run: |
set -eux -o pipefail
TICS_TEMP_DIR="/tmp/tics/ticstmpdir"
if [ -d "$TICS_TEMP_DIR" ]; then
for file in "$TICS_TEMP_DIR"/*; do
echo "### cat $file"
cat "$file"
echo
done
fi

0 comments on commit 84b654f

Please sign in to comment.