Skip to content

Commit e022a04

Browse files
committed
[AZDO templates] Remove task caching changelog files
- Wasn't working anyway.
1 parent 6500d2e commit e022a04

File tree

2 files changed

+0
-50
lines changed

2 files changed

+0
-50
lines changed

azure-pipelines-templates/class-lib-build-only.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -219,31 +219,6 @@ steps:
219219
versionSpec: '= 3.0'
220220
addToPath: true
221221

222-
# Cache change log cache files
223-
- task: Cache@2
224-
displayName: Cache change log cache files
225-
condition: >-
226-
and(
227-
succeeded(),
228-
or(
229-
eq(variables['SetReleaseDraftVar.RELEASE_VERSION'], 'True'),
230-
and(
231-
eq(variables['System.PullRequest.PullRequestId'], ''),
232-
not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v')),
233-
startsWith(variables['Build.SourceBranchName'], 'main'),
234-
not(contains(variables['Build.SourceBranchName'], 'update-dependencies'))
235-
)
236-
),
237-
eq(variables['StartReleaseCandidate'], false)
238-
)
239-
continueOnError: true
240-
inputs:
241-
key: 'changeLogCacheFiles'
242-
restoreKeys: 1_0
243-
path: |
244-
$(AGENT.TEMPDIRECTORY)/github-changelog-logger.log
245-
$(AGENT.TEMPDIRECTORY)/github-changelog-http-cache
246-
247222
# generate change log
248223
- powershell: |
249224
gem install github_changelog_generator --quiet --no-document

azure-pipelines-templates/class-lib-build.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -218,31 +218,6 @@ steps:
218218
versionSpec: '= 3.0'
219219
addToPath: true
220220

221-
# Cache change log cache files
222-
- task: Cache@2
223-
displayName: Cache change log cache files
224-
condition: >-
225-
and(
226-
succeeded(),
227-
or(
228-
eq(variables['SetReleaseDraftVar.RELEASE_VERSION'], 'True'),
229-
and(
230-
eq(variables['System.PullRequest.PullRequestId'], ''),
231-
not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v')),
232-
startsWith(variables['Build.SourceBranchName'], 'main'),
233-
not(contains(variables['Build.SourceBranchName'], 'update-dependencies'))
234-
)
235-
),
236-
eq(variables['StartReleaseCandidate'], false)
237-
)
238-
continueOnError: true
239-
inputs:
240-
key: 'changeLogCacheFiles'
241-
restoreKeys: 1_0
242-
path: |
243-
$(AGENT.TEMPDIRECTORY)/github-changelog-logger.log
244-
$(AGENT.TEMPDIRECTORY)/github-changelog-http-cache
245-
246221
# generate change log
247222
- powershell: |
248223
gem install github_changelog_generator --quiet --no-document

0 commit comments

Comments
 (0)