From 78a9c5018be9c6af32317f6acbbaf462b4037ec7 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Sat, 13 Jan 2024 16:23:13 -0500 Subject: [PATCH] fix: don't color `brew` `fmt` version output --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f336fc62..f7a4cc5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ defaults: env: hipo_version: dev - fmt_version: 9.1.0 # FIXME: differs from Homebrew + fmt_version: 9.1.0 # for Linux runners, whereas macOS uses Homebrew version num_events: 10 jobs: @@ -115,6 +115,7 @@ jobs: echo "| \`$dep\` | $($dep --version) |" >> $GITHUB_STEP_SUMMARY done if [ "${{ inputs.runner }}" = "macos-latest" ]; then + echo HOMEBREW_NO_COLOR=1 >> $GITHUB_ENV echo "| \`fmt\` | $(brew info fmt | head -n1) |" >> $GITHUB_STEP_SUMMARY else echo "| \`fmt\` | ${{ env.fmt_version }} |" >> $GITHUB_STEP_SUMMARY