Skip to content

Commit 134ac92

Browse files
author
Matthias Koeppe
committed
.github/workflows/ci-linux-incremental.yml: Compute metrics (fixup)
1 parent 2248393 commit 134ac92

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci-linux-incremental.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,9 @@ jobs:
7272
run: |
7373
export PATH=build/bin:$PATH
7474
if [ -d worktree-base ]; then
75-
SAGE_ROOT=worktree-base sage-package metrics :all: > base-metrics.txt
76-
sage-package metrics :all: > metrics.txt
77-
diff --side-by-side base-metrics.txt metrics.txt
78-
echo "Base: $GITHUB_BASE_REF"
75+
(echo "# $GITHUB_BASE_REF"; SAGE_ROOT=worktree-base sage-package metrics :all:) > base-metrics.txt
76+
(echo "# $GITHUB_REF"; sage-package metrics :all:) > metrics.txt
77+
diff --color --side-by-side base-metrics.txt metrics.txt || true
7978
else
8079
sage-package metrics :all:
8180
fi

0 commit comments

Comments
 (0)