From a56640b179eb1cdc34ef0361162ec8838cc71d30 Mon Sep 17 00:00:00 2001 From: Luke Kim Date: Thu, 20 Jun 2019 15:34:28 -0700 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 03936538..a464d787 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,4 @@ -# Starter pipeline -# Start with a minimal pipeline that you can customize to build and deploy your code. -# Add steps that build, run tests, deploy, and more: -# https://aka.ms/yaml +# actionscore/actions pipeline trigger: - master @@ -10,5 +7,14 @@ pool: vmImage: 'ubuntu-latest' steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' \ No newline at end of file +- task: GoTool@0 + inputs: + version: '1.10' +- task: Go@0 + inputs: + command: 'get' +- task: Go@0 + inputs: + command: 'build' + arguments: '-o actions' + workingDirectory: '$GOPATH/src/github.com/actionscore/actions/cmd/action' \ No newline at end of file -- GitLab