Skip to content

Commit 1892d87

Browse files
authored
Use Ubuntu 18.04 build agents (#24592)
- set locale consistently on all platforms - default locale on newer agents is unloved `C.UTF-8`
1 parent 68dec94 commit 1892d87

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/templates/default-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'macOS')) }}:
7272
vmImage: macOS-10.14
7373
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Linux')) }}:
74-
vmImage: ubuntu-16.04
74+
vmImage: ubuntu-18.04
7575
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Windows')) }}:
7676
${{ if eq(variables['System.TeamProject'], 'public') }}:
7777
name: NetCorePublic-Pool
@@ -84,6 +84,9 @@ jobs:
8484
DOTNET_HOME: $(Agent.WorkFolder)/.dotnet
8585
BuildScriptArgs: ${{ parameters.buildArgs }}
8686
BuildConfiguration: ${{ parameters.configuration }}
87+
LC_ALL: 'en_US.UTF-8'
88+
LANG: 'en_US.UTF-8'
89+
LANGUAGE: 'en_US.UTF-8'
8790
VSTS_OVERWRITE_TEMP: false # Workaround for https://github.com/dotnet/core-eng/issues/2812
8891
TeamName: AspNetCore
8992
${{ if or(ne(parameters.codeSign, 'true'), ne(variables['System.TeamProject'], 'internal'), in(variables['Build.Reason'], 'PullRequest')) }}:

0 commit comments

Comments
 (0)