Skip to content

Commit ec60bbf

Browse files
authored
Update build script vmImage to latest (#269)
1 parent 2bd0cd7 commit ec60bbf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

build-system/linux-pr-validation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
parameters:
1919
name: 'net_core_tests_linux'
2020
displayName: '.NET Core Unit Tests (Linux)'
21-
vmImage: 'ubuntu-18.04'
21+
vmImage: 'ubuntu-latest'
2222
scriptFileName: ./build.sh
2323
scriptArgs: runTestsNetCore
2424

2525
- template: azure-pipeline.template.yaml
2626
parameters:
2727
name: 'net_5_tests_linux'
2828
displayName: '.NET 5 Unit Tests (Linux)'
29-
vmImage: 'ubuntu-18.04'
29+
vmImage: 'ubuntu-latest'
3030
scriptFileName: ./build.sh
3131
scriptArgs: runTestsNet

build-system/windows-pr-validation.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,31 @@ jobs:
1818
parameters:
1919
name: 'netfx_tests_windows'
2020
displayName: '.NET Framework Unit Tests (Windows)'
21-
vmImage: 'windows-2019'
21+
vmImage: 'windows-latest'
2222
scriptFileName: build.cmd
2323
scriptArgs: runTests
2424

2525
- template: azure-pipeline.template.yaml
2626
parameters:
2727
name: 'net_core_tests_windows'
2828
displayName: '.NET Core Unit Tests (Windows)'
29-
vmImage: 'windows-2019'
29+
vmImage: 'windows-latest'
3030
scriptFileName: build.cmd
3131
scriptArgs: runTestsNetCore
3232

3333
- template: azure-pipeline.template.yaml
3434
parameters:
3535
name: 'net_5_tests_windows'
3636
displayName: '.NET 5 Unit Tests (Windows)'
37-
vmImage: 'windows-2019'
37+
vmImage: 'windows-latest'
3838
scriptFileName: build.cmd
3939
scriptArgs: runTestsNet
4040

4141
- template: azure-pipeline.template.yaml
4242
parameters:
4343
name: 'nuget_pack'
4444
displayName: 'NuGet Pack'
45-
vmImage: 'windows-2019'
45+
vmImage: 'windows-latest'
4646
scriptFileName: build.cmd
4747
scriptArgs: CreateNuget nugetprerelease=dev
4848
outputDirectory: 'bin/nuget'

0 commit comments

Comments
 (0)