|
@@ -57,10 +57,12 @@ jobs:
|
|
- name: Compute cache key
|
|
- name: Compute cache key
|
|
id: yarnCacheKey
|
|
id: yarnCacheKey
|
|
run: echo "::set-output name=value::$(node build/azure-pipelines/computeYarnCacheKey.js)"
|
|
run: echo "::set-output name=value::$(node build/azure-pipelines/computeYarnCacheKey.js)"
|
|
|
|
+ if: env.SHOULD_BUILD == 'yes'
|
|
|
|
|
|
- name: Get yarn cache directory path
|
|
- name: Get yarn cache directory path
|
|
id: yarnCacheDirPath
|
|
id: yarnCacheDirPath
|
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
|
+ if: env.SHOULD_BUILD == 'yes'
|
|
|
|
|
|
- name: Cache yarn directory
|
|
- name: Cache yarn directory
|
|
uses: actions/cache@v2
|
|
uses: actions/cache@v2
|