mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Re-enable condition and dependsOn
This commit is contained in:
+5
-6
@@ -68,11 +68,11 @@ jobs:
|
||||
displayName: 'Lint'
|
||||
|
||||
- job: Release
|
||||
# dependsOn:
|
||||
# - Linux
|
||||
# - macOS
|
||||
# - Windows
|
||||
#condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
dependsOn:
|
||||
- Linux
|
||||
- macOS
|
||||
- Windows
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
pool:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
steps:
|
||||
@@ -88,6 +88,5 @@ jobs:
|
||||
yarn
|
||||
displayName: 'Install dependencies and build'
|
||||
- script: |
|
||||
echo $(NPM_AUTH_TOKEN)
|
||||
NPM_AUTH_TOKEN="$(NPM_AUTH_TOKEN)" node ./bin/publish.js
|
||||
displayName: 'Publish to npm'
|
||||
|
||||
Reference in New Issue
Block a user