mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
Create combined build and release pipelines (#1117)
* Combine build and release pipelines * remove * remove another
This commit is contained in:
32
azure-pipelines/build-and-release.yml
Normal file
32
azure-pipelines/build-and-release.yml
Normal 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
|
||||
Reference in New Issue
Block a user