From 050e744f5ba866b4a34966966ce3ac3b88c13493 Mon Sep 17 00:00:00 2001 From: Qther Date: Sat, 18 Jan 2020 23:56:35 +0800 Subject: [PATCH] Set up CI with Azure Pipelines --- azure-pipelines.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..5a729a3d --- /dev/null +++ b/azure-pipelines.yml @@ -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'