Skip to content

Commit 79b46d9

Browse files
linkdotnetegil
authored andcommitted
feat: added color output on .net related actions
1 parent 0f4ab15 commit 79b46d9

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

.github/workflows/docs-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ jobs:
6969
6.0.x
7070
7.0.x
7171
include-prerelease: true
72+
73+
- name: 🎨 Setup color
74+
run: |
75+
echo "DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION=1" >> $GITHUB_ENV
76+
echo "TERM=xterm" >> $GITHUB_ENV
7277
7378
- name: 🛠️ Building bUnit
7479
run: dotnet build /p:PublicRelease=true

.github/workflows/release-preview.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
6.0.x
3838
7.0.x
3939
include-prerelease: true
40+
41+
- name: 🎨 Setup color
42+
run: |
43+
echo "DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION=1" >> $GITHUB_ENV
44+
echo "TERM=xterm" >> $GITHUB_ENV
4045
4146
- name: 🛠️ Update tokens in project files
4247
uses: cschleiden/replace-tokens@v1

.github/workflows/verification-dotnet-nightly.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424

25+
- name: 🎨 Setup color
26+
run: |
27+
echo "DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION=1" >> $GITHUB_ENV
28+
echo "TERM=xterm" >> $GITHUB_ENV
29+
2530
- name: 📦 Setup nuget nightly builds
2631
run: |
2732
dotnet restore --verbosity normal -s https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json -s https://api.nuget.org/v3/index.json

.github/workflows/verification.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
7.0.x
4242
include-prerelease: true
4343

44+
- name: 🎨 Setup color
45+
run: |
46+
echo "DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION=1" >> $GITHUB_ENV
47+
echo "TERM=xterm" >> $GITHUB_ENV
48+
4449
- name: ⚙️ Setup GIT versioning
4550
uses: dotnet/[email protected]
4651
with:

0 commit comments

Comments
 (0)