Skip to content

Commit

Permalink
Merge pull request #133 from marwan-at-work/patch-1
Browse files Browse the repository at this point in the history
Update README to help with GitHub Actions
  • Loading branch information
fatih committed Jan 30, 2021
2 parents 4cad7da + 4e3c83a commit d66acdd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -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 the check for non-tty output streams.

## Todo

* Save/Return previous values
Expand All @@ -169,4 +173,3 @@ c.Println("This prints again cyan...")
## License

The MIT License (MIT) - see [`LICENSE.md`](https://github.com/fatih/color/blob/master/LICENSE.md) for more details

0 comments on commit d66acdd

Please sign in to comment.