Skip to content

Commit be55c39

Browse files
committed
CI: Use 'ubuntu-latest' for GetReleaseVersion
Ubuntu is much faster than Windows at installing many small files, such as during `git clone` and `npm install`.
1 parent dea9e4a commit be55c39

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

script/vsts/nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
jobs:
22
- job: GetReleaseVersion
33
pool:
4-
vmImage: 'windows-latest'
4+
vmImage: 'ubuntu-latest'
55
steps:
66
# This has to be done separately because VSTS inexplicably
77
# exits the script block after `npm install` completes.

script/vsts/pull-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ trigger: none # No CI builds, only PR builds
33
jobs:
44
- job: GetReleaseVersion
55
pool:
6-
vmImage: 'windows-latest'
6+
vmImage: 'ubuntu-latest'
77
steps:
88
# This has to be done separately because VSTS inexplicably
99
# exits the script block after `npm install` completes.

script/vsts/release-branch-build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pr: none # no PR triggers
77
jobs:
88
- job: GetReleaseVersion
99
pool:
10-
vmImage: 'windows-latest'
10+
vmImage: 'ubuntu-latest'
1111
steps:
1212
# This has to be done separately because VSTS inexplicably
1313
# exits the script block after `npm install` completes.
@@ -42,8 +42,6 @@ jobs:
4242
IsSignedZipBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsSignedZipBranch'] ]
4343

4444
steps:
45-
- template: platforms/templates/preparation.yml
46-
4745
# This has to be done separately because VSTS inexplicably
4846
# exits the script block after `npm install` completes.
4947
- script: |

0 commit comments

Comments
 (0)