From a13e7ad3e1e20d420b57727e8ca0aec21f210efa Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 13 May 2019 22:07:59 +0200 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3ea9ac8a7..610e30a7e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,6 +18,8 @@ variables: value: 'v1.16.3' - name: versionShellCheck value: 'v0.6.0' + - name: versionGHR + value: 'v0.12.1' jobs: @@ -68,8 +70,13 @@ jobs: steps: - script: sudo docker build -t hassos:azure . displayName: 'Build container for HassOS' + - script: | + curl -SsL https://github.com/tcnksm/ghr/releases/download/$(versionGHR)/ghr_$(versionGHR)_linux_amd64.tar.gz | tar xzf - + cp ghr_$(versionGHR)_linux_amd64/ghr . + rm -rf ghr_$(versionGHR)_linux_amd64 + displayName: 'Install GHR' - script: | sudo docker run --rm --privileged -v "$(pwd):/build" \ - -v "/mnt/build-cache/cache:/cache" \ + -v "/mnt/build-cache:/cache" \ hassos:azure make $(board) displayName: 'Build $(board)'