We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9194ecb commit e54329bCopy full SHA for e54329b
.github/workflows/compare-builds.yml
@@ -93,7 +93,7 @@ jobs:
93
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
94
with:
95
name: ${{ matrix.comparator }}
96
- path: ${{ matrix.comparator }}.txt
+ path: result.txt
97
98
aggregate:
99
name: Aggregate Comparison Results
@@ -108,13 +108,13 @@ jobs:
108
- name: Combine results
109
id: combine
110
run: |
111
+ shopt -s nullglob
112
result_files=(results/*.txt)
113
- if (( ${#result_files[@]} )); then
114
- cat "${result_files[@]}" > combined.txt
+ if ((${#result_files[@]})); then
115
{
116
echo "combined<<EOF"
117
- cat combined.txt
+ cat "${result_files[@]}"
118
echo "EOF"
119
echo "has_results=true"
120
} >> "$GITHUB_OUTPUT"
0 commit comments