diff --git a/.azure/steps.yml b/.azure/steps.yml
index 28281f84920bf453a9aabd81984b66a6030abfb8..f2467bd17c6944c84517cbb9a48b8d0bc7afdfb9 100644
--- a/.azure/steps.yml
+++ b/.azure/steps.yml
@@ -26,20 +26,18 @@ steps:
     fetchDepth: 5
     path: renovate
 
-  - task: CacheBeta@0
+  - task: Cache@2
     inputs:
       key: yarn_cache | $(Agent.OS) | $(Build.SourcesDirectory)/yarn.lock
       path: $(YARN_CACHE_FOLDER)
     displayName: Cache Yarn packages
     continueOnError: true
 
-  # does not work on linux or mac :-(
-  - task: CacheBeta@0
+  - task: Cache@2
     inputs:
       key: yarn | "$(nodeVersion)" | $(Agent.OS) | $(Build.SourcesDirectory)/yarn.lock
       path: $(Build.SourcesDirectory)/node_modules
     displayName: Cache node_modules
-    condition: eq(variables['Agent.OS'], 'Windows_NT')
     continueOnError: true
 
   - bash: |
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 7bd9db245267121ce212bdf90c861248e6538dcb..5ca36a07a7d397a7aa91e283aa1b76a090bcbb94 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -12,7 +12,6 @@ pr:
 variables:
   YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
   CI: true
-  AZP_CACHING_TAR: true
 
 jobs:
   - job: 'Windows'