Skip to content

Commit e54329b

Browse files
committed
[wip]
1 parent 9194ecb commit e54329b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/compare-builds.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
9494
with:
9595
name: ${{ matrix.comparator }}
96-
path: ${{ matrix.comparator }}.txt
96+
path: result.txt
9797

9898
aggregate:
9999
name: Aggregate Comparison Results
@@ -108,13 +108,13 @@ jobs:
108108
- name: Combine results
109109
id: combine
110110
run: |
111+
shopt -s nullglob
111112
result_files=(results/*.txt)
112113
113-
if (( ${#result_files[@]} )); then
114-
cat "${result_files[@]}" > combined.txt
114+
if ((${#result_files[@]})); then
115115
{
116116
echo "combined<<EOF"
117-
cat combined.txt
117+
cat "${result_files[@]}"
118118
echo "EOF"
119119
echo "has_results=true"
120120
} >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)