Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Feb 4, 2024
1 parent 26b1000 commit 4ea5cb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:

- name: Set System Locale to Chinese
run: |
$languageList = New-Object System.Collections.Generic.List[Microsoft.InternationalSettings.Commands.WinUserLanguage]
$languageList.Add((New-Object Microsoft.InternationalSettings.Commands.WinUserLanguage -ArgumentList "zh-CN"))
Set-WinUserLanguageList $languageList -Force
# 设置系统代码页为简体中文
Set-WinSystemLocale zh-CN
Set-WinUserLanguageList zh-CN -Force
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
Expand Down

0 comments on commit 4ea5cb6

Please sign in to comment.