File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ function Start-DocumentationBuild
108
108
if ($null -eq $platyPS -or ($platyPS | Sort-Object Version - Descending | Select-Object - First 1 ).Version -lt [version ]0.12 )
109
109
{
110
110
Write-Verbose - verbose " platyPS module not found or below required version of 0.12, installing the latest version."
111
- Install-Module - Force - Name platyPS - Scope CurrentUser
111
+ Install-Module - Force - Name platyPS - Scope CurrentUser - Repository PSGallery
112
112
}
113
113
if (-not (Test-Path $markdownDocsPath ))
114
114
{
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function Invoke-AppVeyorInstall {
16
16
else {
17
17
# Visual Studio 2017 build (has already Pester v3, therefore a different installation mechanism is needed to make it also use the new version 4)
18
18
Write-Verbose - Verbose " Installing Pester via Install-Module"
19
- Install-Module - Name Pester - Force - SkipPublisherCheck - Scope CurrentUser
19
+ Install-Module - Name Pester - Force - SkipPublisherCheck - Scope CurrentUser - Repository PSGallery
20
20
}
21
21
}
22
22
@@ -28,7 +28,7 @@ function Invoke-AppVeyorInstall {
28
28
}
29
29
else {
30
30
Write-Verbose - Verbose " Installing platyPS via Install-Module"
31
- Install-Module - Name platyPS - Force - Scope CurrentUser - RequiredVersion $platyPSVersion
31
+ Install-Module - Name platyPS - Force - Scope CurrentUser - RequiredVersion $platyPSVersion - Repository PSGallery
32
32
}
33
33
34
34
# the build script sorts out the problems of WMF4 and earlier versions of dotnet CLI
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN Import-Module PackageManagement; `
16
16
Import-Module ./containerFiles/dockerInstall.psm1; `
17
17
Install-ChocolateyPackage -PackageName git -Executable git.exe; `
18
18
Install-ChocolateyPackage -PackageName nuget.commandline -Executable nuget.exe -Cleanup; `
19
- Install-Module -Force -Name platyPS; `
19
+ Install-Module -Force -Name platyPS -Repository PSGallery ; `
20
20
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/dotnet-install.ps1 -outfile C:/dotnet-install.ps1; `
21
21
C:/dotnet-install.ps1 -Channel Release -Version 2.1.4; `
22
22
Add-Path C:/Users/ContainerAdministrator/AppData/Local/Microsoft/dotnet;
You can’t perform that action at this time.
0 commit comments