Skip to content

Commit

Permalink
WORKFLOW: add --line-buffered to grep (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiopex authored Nov 16, 2024
1 parent 4a6229b commit 0f3be01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}" \
APPEND_VERSION="-Dev_build$(echo ${{ github.ref_name != 'master' && github.ref_name || '' }} | sed 's/\//-/g' | sed '/./ s/^/-/')" 2>&1 \
| tee build.log \
| grep ">>>" \
| grep --line-buffered "^>>>" \
); then tail -n100 build.log && exit 1
fi
Expand Down Expand Up @@ -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 }}" \
APPEND_VERSION="-Dev_build$(echo ${{ github.ref_name != 'master' && github.ref_name || '' }} | sed 's/\//-/g' | sed '/./ s/^/-/')" 2>&1 \
| tee build.log \
| grep ">>>" \
| grep --line-buffered "^>>>" \
); then tail -n100 build.log && exit 1
fi
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
if ! ( \
make -j $CPU_N sdk 2>&1 \
| tee build.log \
| grep ">>>" \
| grep --line-buffered "^>>>" \
); then tail -n100 build.log && exit 1
fi
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
if ! ( \
make -j $CPU_N sdk 2>&1 \
| tee build.log \
| grep ">>>" \
| grep --line-buffered "^>>>" \
); then tail -n100 build.log && exit 1
fi
Expand Down

0 comments on commit 0f3be01

Please sign in to comment.