Create combined build and release pipelines (#1117)

* Combine build and release pipelines

* remove

* remove another
This commit is contained in:
Charles Gagnon
2020-11-09 11:07:22 -08:00
committed by GitHub
parent 455d3bc975
commit aa4f4b3fdd
3 changed files with 84 additions and 84 deletions

View File

@@ -0,0 +1,32 @@
trigger: none
pr: none
schedules:
- cron: "0 5 * * Mon-Fri"
displayName: Mon-Fri at 7:00
branches:
include:
- main
stages:
- stage: Build
jobs:
- job: Build
pool:
vmImage: 'windows-latest'
demands:
- Cmd
- npm
steps:
- template: build.yml
- stage: Release
dependsOn:
- Build
condition: and(succeeded(), eq(variables['RELEASE'], 'true'))
pool:
vmImage: 'Ubuntu-16.04'
jobs:
- job: Release
steps:
- template: release.yml