Skip to content

Commit

Permalink
fix: don't color brew fmt version output
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Jan 13, 2024
1 parent c2866bd commit 78a9c50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 78a9c50

Please sign in to comment.