Skip to content

Commit a0cc8fc

Browse files
committed
Fix CI
1 parent 4226be6 commit a0cc8fc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/BitMono.CLI.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,19 @@ jobs:
3434
steps:
3535
- name: Checkout code
3636
uses: actions/checkout@v4
37+
with:
38+
fetch-depth: 0
3739

3840
- name: Setup .NET
3941
uses: actions/setup-dotnet@v4
42+
env:
43+
# Disable the .NET logo in the console output.
44+
DOTNET_NOLOGO: true
45+
# Disable the .NET first time experience to skip caching NuGet packages and speed up the build.
46+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
47+
# Disable sending .NET CLI telemetry to Microsoft.
48+
DOTNET_CLI_TELEMETRY_OPTOUT: true
49+
DOTNET_INSTALL_DIR: ${{ github.workspace }}/.dotnet
4050
with:
4151
dotnet-version: 9.x
4252

0 commit comments

Comments
 (0)