cache pegged to SHa1
@@ -13,7 +13,7 @@ jobs:
steps:
- task: Cache@2
inputs:
- key: 'maven | "$(Agent.OS)" | ./pom.xml'
+ key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml'
path: $(MAVEN_CACHE_FOLDER)
- task: Bash@3
inputs:
@@ -46,7 +46,7 @@ jobs:
releaseType: stable
- task: Cache@2
inputs:
- key: 'maven | "$(Agent.OS)" | ./pom.xml'
+ key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml'
path: $(MAVEN_CACHE_FOLDER)
# - task: Maven@3
# env:
