File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3333 using : composite
3434 steps :
3535 - name : Document-PSModule
36+ shell : pwsh
3637 env :
3738 GITHUB_ACTION_INPUT_Name : ${{ inputs.Name }}
38- shell : pwsh
3939 working-directory : ${{ inputs.WorkingDirectory }}
4040 run : |
4141 # Build-PSModuleDocumentation
Original file line number Diff line number Diff line change 2929 Resolve-PSModuleDependency - ManifestFilePath $manifestFilePath
3030
3131 Write-Host ' - List installed modules'
32- Get-InstalledPSResource | Format-Table - AutoSize
32+ Get-InstalledPSResource | Format-Table - AutoSize | Out-String
3333
3434 Write-Host " - Importing module [$moduleName ] v999"
3535 Import-Module $Path
3636
3737 Write-Host ' - List loaded modules'
3838 $availableModules = Get-Module - ListAvailable - Refresh - Verbose:$false
39- $availableModules | Select-Object Name, Version, Path | Sort-Object Name | Format-Table - AutoSize
39+ $availableModules | Select-Object Name, Version, Path | Sort-Object Name | Format-Table - AutoSize | Out-String
4040 Write-Host ' - List commands'
4141 $commands = Get-Command - Module $moduleName - ListImported
4242 Write-Host (Get-Command - Module $moduleName - ListImported | Format-Table - AutoSize | Out-String )
Original file line number Diff line number Diff line change 55[CmdletBinding ()]
66param ()
77
8+ $PSStyle.OutputRendering = ' Ansi'
9+
810' platyPS' | ForEach-Object {
911 Install-PSResource - Name $_ - WarningAction SilentlyContinue - TrustRepository - Repository PSGallery
1012 Import-Module - Name $_
You can’t perform that action at this time.
0 commit comments