Skip to content

Commit 9eff073

Browse files
committed
add timestamp to see how long the job takes
1 parent c01214e commit 9eff073

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/clear-files/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ runs:
99
DEBIAN_FRONTEND: noninteractive
1010
run: |
1111
set +e
12+
exec > >(awk '{ print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }') \
13+
2> >(awk '{ print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }' >&2)
1214
1315
# Skip slow "updating man-db" dpkg step
1416
echo 'set man-db/auto-update false' | sudo debconf-communicate; sudo dpkg-reconfigure man-db

0 commit comments

Comments
 (0)