You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2020/07/15 02:30:03 UTC
[lucenenet] 07/14: azure-pipelines.yml: Removed NuGet caching,
as it doesn't account for when dependencies change
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit e017bda153bb09e453b7bfee7f137c47386099d8
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Mon Jul 13 22:22:14 2020 +0700
azure-pipelines.yml: Removed NuGet caching, as it doesn't account for when dependencies change
---
azure-pipelines.yml | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 1630f23..2e7628e 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -70,9 +70,7 @@ variables:
- name: NuGetArtifactDirectory # NuGet binaries directory
value: '$(Build.ArtifactStagingDirectory)/$(NuGetArtifactName)'
- name: PublishedArtifactZipFileName
- value: 'published.zip'
-- name: NUGET_PACKAGES
- value: $(Build.SourcesDirectory)\.nuget\packages
+ value: 'published.zip'
stages:
- stage: Build_Stage
@@ -96,15 +94,6 @@ stages:
displayName: 'Use .NET Core sdk 3.1.301'
inputs:
version: 3.1.301
-
- - task: Cache@2
- displayName: 'Cache NuGet packages'
- inputs:
- key: 'nuget | "$(Agent.OS)" | **/*.csproj'
- restoreKeys: |
- nuget | "$(Agent.OS)"
- nuget
- path: $(NUGET_PACKAGES)
- powershell: |
Import-Module "$(BuildDirectory)/psake.psm1"