From 6a67c92b57cd86e4b153f84720693808d7e696ef Mon Sep 17 00:00:00 2001 From: yazninja <71800112+yazninja@users.noreply.github.com> Date: Wed, 10 May 2023 20:00:28 +0300 Subject: [PATCH] add env var --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7d16b95a..dedc6056 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,6 @@ variables: BUILD_URL: "$(System.CollectionUri)/$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)" YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn/cache YARN_ENABLE_IMMUTABLE_INSTALLS: false - GH_TOKEN: $(GH_TOKEN) jobs: # Linux Production Build Test @@ -52,6 +51,7 @@ jobs: displayName: "Install Dependencies" - script: yarn dist:linux + env: {GH_TOKEN : $(GH_TOKEN)} displayName: "Compile Distribution" - task: CopyFiles@2 @@ -106,6 +106,7 @@ jobs: displayName: "Install Dependencies" - script: yarn dist:win + env: {GH_TOKEN : $(GH_TOKEN)} displayName: "Compile Distribution" - task: CopyFiles@2