[ci] replace tee with awk

This commit is contained in:
Motiejus Jakštys 2021-09-29 14:43:21 +03:00 committed by Motiejus Jakštys
parent ec62b65ecd
commit 4754869190

View File

@ -14,6 +14,8 @@ tasks:
- lint: |
make -C undocker -O -j$(nproc) lint
- usage: |
./undocker/undocker |& tee /dev/stderr | grep -q "Built with "
# like 'grep -q', but prints output too.
# | tee /dev/stderr doesn't work on sourcehut workers; permission denied.
./undocker/undocker |& awk 'BEGIN{c=1};/Built with /{c=0};{print};END{exit c}'
artifacts:
- undocker/coverage.html