Skip to content

Commit 4aec6e0

Browse files
committed
Fix issues with NuGet provider on AppVeyor build script
1 parent 5dfa09b commit 4aec6e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ environment:
1414

1515
install:
1616
- ps: |
17+
1718
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null
19+
Import-PackageProvider NuGet -Force | Out-Null
20+
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | Out-Null
1821
Install-Module InvokeBuild -RequiredVersion 3.2.1 -Scope CurrentUser -Force | Out-Null
1922
2023
build_script:

0 commit comments

Comments
 (0)