Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Revert nuget.config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Feb 28, 2021
1 parent a2f59cd commit 3f5b5c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
- task: NuGetToolInstaller@0
displayName: 'Install NuGet'
inputs:
versionSpec: '5.7.0'
versionSpec: '5.8.1'

- task: UseDotNet@2
displayName: 'Install .NET Core SDK 5'
Expand All @@ -185,6 +185,8 @@ jobs:
displayName: 'Restore solution'
inputs:
restoreSolution: '$(solution)'
feedsToUse: config
nugetConfigPath: 'NuGet.Config'
env:
MSBuildSDKsPath: $(Agent.ToolsDirectory)/dotnet/sdk/$(sdkVersion)/Sdks

Expand Down Expand Up @@ -227,7 +229,7 @@ jobs:
- task: NuGetToolInstaller@0
displayName: 'Install NuGet 5'
inputs:
versionSpec: '5.7.0'
versionSpec: '5.8.1'

- task: UseDotNet@2
displayName: 'Install .NET Core SDK 5'
Expand All @@ -240,6 +242,8 @@ jobs:
displayName: 'Restore solution'
inputs:
restoreSolution: '$(solution)'
feedsToUse: config
nugetConfigPath: 'NuGet.Config'
env:
MSBuildSDKsPath: $(Agent.ToolsDirectory)/dotnet/sdk/$(sdkVersion)/Sdks

Expand Down

0 comments on commit 3f5b5c8

Please sign in to comment.