CI: Drop old workaround, refactor script blocks

This old bug in the CI inexplicably went away at some point.

Co-Authored-By: DeeDeeG <DeeDeeG@users.noreply.github.com>
This commit is contained in:
Amin Yahyaabadi
2020-09-11 10:38:02 -05:00
parent f47f479285
commit dc2f6f8513
3 changed files with 1 additions and 11 deletions

View File

@@ -26,8 +26,6 @@ jobs:
steps:
- template: platforms/templates/preparation.yml
#This has to be done separately because VSTS inexplicably
#exits the script block after `npm install` completes.
- script: |
cd script/vsts
npm install

View File

@@ -12,14 +12,8 @@ jobs:
pool:
vmImage: 'ubuntu-latest'
steps:
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm ci` completes.
- script: |
cd script/vsts
npm ci
displayName: npm ci
- script: node script/vsts/get-release-version.js ${{ parameters.NightlyFlag }}
node get-release-version.js ${{ parameters.NightlyFlag }}
name: Version
env:
REPO_OWNER: $(REPO_OWNER)
NIGHTLY_RELEASE_REPO: $(NIGHTLY_RELEASE_REPO)

View File

@@ -31,8 +31,6 @@ jobs:
steps:
- template: platforms/templates/preparation.yml
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm install` completes.
- script: |
cd script/vsts
npm install