Skip to content

Commit 7ca5801

Browse files
authored
fix result file name (#146)
1 parent 95f1eab commit 7ca5801

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/daily.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,19 @@ jobs:
169169
- name: Record result
170170
if: always()
171171
run: |
172+
mkdir -p result-${{ matrix.tests.name }}
172173
if grep -q "Everything looks good!" scalardb/store/latest/jepsen.log; then
173-
echo "${{ matrix.tests.name }}:success" >> result.txt
174+
echo "${{ matrix.tests.name }}:success" > result-${{ matrix.tests.name }}/result.txt
174175
else
175-
echo "${{ matrix.tests.name }}:failure" >> result.txt
176+
echo "${{ matrix.tests.name }}:failure" > result-${{ matrix.tests.name }}/result.txt
176177
fi
177-
178+
178179
- name: Upload result
179180
if: always()
180181
uses: actions/upload-artifact@v4
181182
with:
182183
name: result-${{ matrix.tests.name }}
183-
path: result.txt
184+
path: result-${{ matrix.tests.name }}/result.txt
184185

185186
- name: Upload logs
186187
if: always()

0 commit comments

Comments
 (0)