Skip to content

Commit b88eaec

Browse files
authored
Update build.yml
1 parent 20f1736 commit b88eaec

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: '7.0.x'
19+
dotnet-version: '7.0.x'
20+
env:
21+
DOTNET_NOLOGO: true
22+
DOTNET_CLI_TELEMETRY_OPTOUT: true
2023

2124
- name: Restore dependencies
2225
run: dotnet restore FastGithub.sln
@@ -58,12 +61,10 @@ jobs:
5861
5962
- name: Publish single-file artifacts with UI
6063
shell: bash
61-
env:
62-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
63-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
64-
DOTNET_NOLOGO: 1
65-
DOTNET_CLI_UI_LANGUAGE: en
66-
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
64+
env:
65+
DOTNET_NOLOGO: true
66+
DOTNET_CLI_TELEMETRY_OPTOUT: true
67+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
6768
run: |
6869
# 发布主程序
6970
dotnet publish FastGithub/FastGithub.csproj \

0 commit comments

Comments
 (0)