Skip to content

Commit c0e0a0d

Browse files
authored
Add xterm-256color to workflow for Ubuntu runners (#164)
1 parent 1ae87a5 commit c0e0a0d

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ jobs:
6868
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
6969
permissions:
7070
contents: write
71-
env:
72-
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "true"
7371
steps:
7472
- name: Checkout
7573
uses: actions/checkout@v6
@@ -115,8 +113,6 @@ jobs:
115113
if: (github.event_name != 'workflow_dispatch' && true || inputs.run_lint) == true
116114
permissions:
117115
contents: read
118-
env:
119-
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "true"
120116
steps:
121117
- name: Checkout
122118
uses: actions/checkout@v6
@@ -150,8 +146,6 @@ jobs:
150146
contents: read
151147
id-token: write
152148
attestations: write
153-
env:
154-
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "true"
155149
steps:
156150
- name: Checkout
157151
uses: actions/checkout@v6
@@ -207,8 +201,6 @@ jobs:
207201
build:
208202
name: Build
209203
runs-on: windows-latest
210-
env:
211-
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "true"
212204
if: (github.event_name != 'workflow_dispatch' && true || inputs.run_build) == true
213205
permissions:
214206
contents: read
@@ -277,6 +269,7 @@ jobs:
277269
runs-on: ${{ matrix.os }}
278270
env:
279271
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "true"
272+
TERM: xterm-256color
280273
if: success() && (github.event_name != 'workflow_dispatch' && true || inputs.run_tests) == true
281274
steps:
282275
- name: Setup .NET
@@ -434,8 +427,6 @@ jobs:
434427
permissions:
435428
contents: read
436429
pull-requests: read
437-
env:
438-
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "true"
439430
if: (github.event_name != 'workflow_dispatch' || inputs.run_sonarcloud) == true
440431
steps:
441432
- name: Checkout

.github/workflows/githubpages.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ jobs:
99
publish:
1010
name: Publish
1111
runs-on: windows-latest
12-
env:
13-
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "true"
1412
permissions:
1513
contents: read
1614
steps:

.github/workflows/githubpages_staging.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
publish:
1111
name: Publish
1212
runs-on: windows-latest
13-
env:
14-
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "true"
1513
permissions:
1614
contents: read
1715
steps:

0 commit comments

Comments
 (0)