From 30df1d8b0f308af9014990c266dc81118581ef51 Mon Sep 17 00:00:00 2001 From: Anthony Dresser Date: Fri, 30 Aug 2019 17:13:51 -0700 Subject: [PATCH] Fix pipeline electron download (#7023) * add testing logging * testing * testing * testing * update env to work correctly * add env to yarn as well * remove unnecessary change --- azure-pipelines-linux-mac.yml | 4 ++++ azure-pipelines-windows.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/azure-pipelines-linux-mac.yml b/azure-pipelines-linux-mac.yml index 4909cf914c..3bb6733a6b 100644 --- a/azure-pipelines-linux-mac.yml +++ b/azure-pipelines-linux-mac.yml @@ -29,6 +29,8 @@ steps: yarn --frozen-lockfile displayName: Install Dependencies condition: and(succeeded(), ne(variables['CacheRestored'], 'true')) + env: + GITHUB_TOKEN: $(GITHUB_TOKEN) - task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1 inputs: @@ -40,6 +42,8 @@ steps: - script: | yarn gulp electron-x64 displayName: Download Electron + env: + GITHUB_TOKEN: $(GITHUB_TOKEN) - script: | yarn gulp hygiene diff --git a/azure-pipelines-windows.yml b/azure-pipelines-windows.yml index 9852b6060e..1ad71183e7 100644 --- a/azure-pipelines-windows.yml +++ b/azure-pipelines-windows.yml @@ -17,6 +17,8 @@ steps: yarn --frozen-lockfile displayName: Install Dependencies condition: and(succeeded(), ne(variables['CacheRestored'], 'true')) + env: + GITHUB_TOKEN: $(GITHUB_TOKEN) - task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1 inputs: @@ -28,6 +30,8 @@ steps: - script: | yarn gulp electron-x64 displayName: "Electron" + env: + GITHUB_TOKEN: $(GITHUB_TOKEN) - script: | yarn gulp hygiene