mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
WORKFLOW: add --line-buffered to grep (#137)
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
|||||||
CFW_HASH="${{ steps.cfwsha.outputs.cfw_sha }}" CFW_TAG="${{ steps.cfwsha.outputs.cfw_tag }}" CFW_ITERATION="${{ steps.cfwsha.outputs.cfw_iteration }}" \
|
CFW_HASH="${{ steps.cfwsha.outputs.cfw_sha }}" CFW_TAG="${{ steps.cfwsha.outputs.cfw_tag }}" CFW_ITERATION="${{ steps.cfwsha.outputs.cfw_iteration }}" \
|
||||||
APPEND_VERSION="-Dev_build$(echo ${{ github.ref_name != 'master' && github.ref_name || '' }} | sed 's/\//-/g' | sed '/./ s/^/-/')" 2>&1 \
|
APPEND_VERSION="-Dev_build$(echo ${{ github.ref_name != 'master' && github.ref_name || '' }} | sed 's/\//-/g' | sed '/./ s/^/-/')" 2>&1 \
|
||||||
| tee build.log \
|
| tee build.log \
|
||||||
| grep ">>>" \
|
| grep --line-buffered "^>>>" \
|
||||||
); then tail -n100 build.log && exit 1
|
); then tail -n100 build.log && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -154,7 +154,7 @@ jobs:
|
|||||||
CFW_HASH="${{ steps.cfwsha.outputs.cfw_sha }}" CFW_TAG="${{ steps.cfwsha.outputs.cfw_tag }}" CFW_ITERATION="${{ steps.cfwsha.outputs.cfw_iteration }}" \
|
CFW_HASH="${{ steps.cfwsha.outputs.cfw_sha }}" CFW_TAG="${{ steps.cfwsha.outputs.cfw_tag }}" CFW_ITERATION="${{ steps.cfwsha.outputs.cfw_iteration }}" \
|
||||||
APPEND_VERSION="-Dev_build$(echo ${{ github.ref_name != 'master' && github.ref_name || '' }} | sed 's/\//-/g' | sed '/./ s/^/-/')" 2>&1 \
|
APPEND_VERSION="-Dev_build$(echo ${{ github.ref_name != 'master' && github.ref_name || '' }} | sed 's/\//-/g' | sed '/./ s/^/-/')" 2>&1 \
|
||||||
| tee build.log \
|
| tee build.log \
|
||||||
| grep ">>>" \
|
| grep --line-buffered "^>>>" \
|
||||||
); then tail -n100 build.log && exit 1
|
); then tail -n100 build.log && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -231,7 +231,7 @@ jobs:
|
|||||||
if ! ( \
|
if ! ( \
|
||||||
make -j $CPU_N sdk 2>&1 \
|
make -j $CPU_N sdk 2>&1 \
|
||||||
| tee build.log \
|
| tee build.log \
|
||||||
| grep ">>>" \
|
| grep --line-buffered "^>>>" \
|
||||||
); then tail -n100 build.log && exit 1
|
); then tail -n100 build.log && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -284,7 +284,7 @@ jobs:
|
|||||||
if ! ( \
|
if ! ( \
|
||||||
make -j $CPU_N sdk 2>&1 \
|
make -j $CPU_N sdk 2>&1 \
|
||||||
| tee build.log \
|
| tee build.log \
|
||||||
| grep ">>>" \
|
| grep --line-buffered "^>>>" \
|
||||||
); then tail -n100 build.log && exit 1
|
); then tail -n100 build.log && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user