From 7897fc64cdc4807f1366ff995fe700971cf49b92 Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Thu, 11 Jun 2020 09:44:11 +0300 Subject: [PATCH] Fix cache restore command on Windows Signed-off-by: Lauri Nevala --- .azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 08b194e5e3..4f0d643760 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -120,7 +120,7 @@ jobs: cacheHitVar: CACHE_RESTORED displayName: Cache Yarn packages - bash: | - mkdir -p "$YARN_CACHE_FOLDER" + mkdir -p "$env:YARN_CACHE_FOLDER" tar -xzf "$AZURE_CACHE_FOLDER/yarn-cache.tar.gz" -C / displayName: "Unpack cache" condition: eq(variables.CACHE_RESTORED, 'true')