Set up CI with Azure Pipelines

This commit is contained in:
Qther 2020-01-18 23:56:35 +08:00 committed by GitHub
parent 59724e90e4
commit 050e744f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

27
azure-pipelines.yml Normal file
View File

@ -0,0 +1,27 @@
trigger:
- feature/master
pool:
vmImage: 'windows-latest'
steps:
- task: CmdLine@2
inputs:
script: |
gradlew build
- task: GitHubRelease@1
inputs:
gitHubConnection: 'Vonr'
repositoryName: 'Vonr/KamiBlueBuilds'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: 'beta$(Build.BuildId)'
title: 'Kami Blue beta$(Build.BuildId)'
releaseNotesSource: 'inline'
releaseNotesInline: 'beta build'
assets: './build/libs/*.jar'
isPreRelease: true
changeLogCompareToRelease: 'lastNonDraftRelease'
changeLogType: 'commitBased'