Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
sboulema committed May 1, 2020
1 parent e213e9f commit 3d5351c
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ stages:
inputs:
targetType: 'inline'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=postgresql&errorResponse=zip'' -o PostgresSQL.zip'
- task: PowerShell@2
displayName: MySQL
inputs:
targetType: 'inline'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=mysql&errorResponse=zip'' -o MySQL.zip'
- task: PowerShell@2
displayName: Excel
inputs:
targetType: 'inline'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=xlsx&errorResponse=zip'' -o Excel.zip'

- task: PublishPipelineArtifact@1
displayName: Publish MariaDB
inputs:
Expand All @@ -32,6 +43,18 @@ stages:
targetPath: 'PostgresSQL.zip'
artifact: 'PostgresSQL'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Publish MySQL
inputs:
targetPath: 'MySQL.zip'
artifact: 'MySQL'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Publish Excel
inputs:
targetPath: 'Excel.zip'
artifact: 'Excel'
publishLocation: 'pipeline'
- stage: Release
displayName: Release to Github
jobs:
Expand All @@ -41,7 +64,9 @@ stages:
displayName: Github Release
inputs:
githubEndpoint: 'sboulema'
manuallySetRepository: false
manuallySetRepository: true
githubOwner: 'sboulema'
githubRepositoryName: 'BrewDB'
githubReleaseDraft: false
githubReleasePrerelease: false
githubIgnoreAssets: false
Expand Down

0 comments on commit 3d5351c

Please sign in to comment.