mirror of https://github.com/citusdata/citus.git
Fix for diffs output
parent
ae588a337b
commit
7b1c662c4f
|
@ -24,14 +24,12 @@ runs:
|
||||||
/tmp/pg_upgrade_newData_logs
|
/tmp/pg_upgrade_newData_logs
|
||||||
- name: Publish regression.diffs
|
- name: Publish regression.diffs
|
||||||
run: |-
|
run: |-
|
||||||
if find src/test/regress -name "*.diffs" -type f -print -quit | grep -q .; then
|
diffs = "$(find src/test/regress -name "*.diffs" -exec cat {} +)"
|
||||||
diff=find src/test/regress -name "*.diffs" -exec cat {} +
|
if [ -z "$diffs" ]; then
|
||||||
if [ -z diff ]; then
|
echo '```diff' >> $GITHUB_STEP_SUMMARY
|
||||||
echo '```diff' >> $GITHUB_STEP_SUMMARY
|
echo $diffs >> $GITHUB_STEP_SUMMARY
|
||||||
echo $diff >> $GITHUB_STEP_SUMMARY
|
echo '```' >> $GITHUB_STEP_SUMMARY
|
||||||
echo '```' >> $GITHUB_STEP_SUMMARY
|
echo $diffs
|
||||||
echo $diff
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Print stack traces
|
- name: Print stack traces
|
||||||
|
|
Loading…
Reference in New Issue