From d1c271540273cae10e01b766c8d4558522c23aee Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 14 May 2019 23:34:02 +0200 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d8ec92720..f8013b0b3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,6 +20,7 @@ variables: value: 'v0.6.0' - name: versionGHR value: 'v0.12.1' + - group: github jobs: @@ -57,8 +58,7 @@ jobs: - job: 'Release' - #condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('ShellCheck')) - condition: succeeded('ShellCheck') + condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('ShellCheck')) timeoutInMinutes: 240 dependsOn: - 'ShellCheck' @@ -89,3 +89,6 @@ jobs: -v "/mnt/build-cache:/cache" \ hassos:azure make $(board) displayName: 'Build $(board)' + - script: | + ./ghr -t $(githubToken) $(Build.SourceBranchName) release/ + displayName: 'Upload $(board)'