Skip to content

DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION doesn't work on GitHub Actions #68302

Answered by am11
Tyrrrz asked this question in Q&A
Discussion options

You must be logged in to vote

Setting TERM=xterm or xterm-256color etc. (am11/TestDotnetColors@03fd08b) the uploaded artifact gets the color:

  Determining projects to restore...
  Restored /home/runner/work/TestDotnetColors/TestDotnetColors/Project.csproj (in 5.79 sec).
  Project -> /home/runner/work/TestDotnetColors/TestDotnetColors/bin/Debug/net6.0/Project.dll
Test run for /home/runner/work/TestDotnetColors/TestDotnetColors/bin/Debug/net6.0/Project.dll (.NETCoreApp,Version=v6.0)
Microsoft (R) Test Execution Command Line Tool Version 17.1.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
^[[39;49m^[[31m^[[39;49…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@am11
Comment options

@xt0rted
Comment options

@Tyrrrz
Comment options

Answer selected by Tyrrrz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants