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)'