Skip to content

Commit 2d9d070

Browse files
committed
ci: logs as artifacts on failure
1 parent 83547d2 commit 2d9d070

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,10 @@ jobs:
5454
exit 1
5555
else
5656
echo "Outputs are identical"
57-
fi
57+
58+
- name: Upload log files on failure
59+
if: failure()
60+
uses: actions/upload-artifact@v3
61+
with:
62+
name: failing-log-files
63+
path: '**/*.log'

0 commit comments

Comments
 (0)