From ffa25a142d85ce73eb13c54c8933f4e7e09e90ca Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 15 Mar 2024 08:59:18 +0100 Subject: [PATCH] refactor(github/interop): use grep instead of awk --- .github/actions/quic-interop-runner/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/quic-interop-runner/action.yml b/.github/actions/quic-interop-runner/action.yml index ef4865bde6..987fa73755 100644 --- a/.github/actions/quic-interop-runner/action.yml +++ b/.github/actions/quic-interop-runner/action.yml @@ -92,8 +92,8 @@ runs: run: | echo '[**QUIC Interop Runner**](https://github.com/quic-interop/quic-interop-runner)' >> comment echo '' >> comment - # Ignore all, but table, which starts with "|:--". - cat quic-interop-runner/summary | awk '/^\|:--/{flag=1} flag' >> comment + # Ignore all, but table, which starts with "| :--" or "|:--". + grep -A 999999 -E '^\|\s?:--' quic-interop-runner/summary >> comment echo '' >> comment shell: bash