From f5d07caa2ae77e2fcf1850ca37ecac5f129e59d7 Mon Sep 17 00:00:00 2001 From: Marwan Sulaiman Date: Tue, 26 Jan 2021 15:28:56 -0500 Subject: [PATCH 1/2] Update README to help with GitHub Actions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 97402d9..0545fc8 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,10 @@ c.EnableColor() c.Println("This prints again cyan...") ``` +## GitHub Actions + +To output color in GitHub Actions (or other CI systems that support ANSI colors), make sure to set `color.NoColor = false` so that it bypasses mangling checks. + ## Todo * Save/Return previous values From 4e3c83a3e14464b7cc4c26da0b2ccd78e487c596 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Sat, 30 Jan 2021 23:33:24 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 0545fc8..ce40086 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ c.Println("This prints again cyan...") ## GitHub Actions -To output color in GitHub Actions (or other CI systems that support ANSI colors), make sure to set `color.NoColor = false` so that it bypasses mangling checks. +To output color in GitHub Actions (or other CI systems that support ANSI colors), make sure to set `color.NoColor = false` so that it bypasses the check for non-tty output streams. ## Todo @@ -173,4 +173,3 @@ To output color in GitHub Actions (or other CI systems that support ANSI colors) ## License The MIT License (MIT) - see [`LICENSE.md`](https://github.com/fatih/color/blob/master/LICENSE.md) for more details -