You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a module fails to install, an PowerShell error will be generated in output but this doesn't stop the pipeline.
If the module is not installed, included rules can not be run.
Expected behaviour
If any module fails to install, the action should error.
Failing to install a module could be a transient issue.
Error output
> Checking module: PSRule.Rules.MSFT.OSS
- Installing module
Install-Package: /opt/microsoft/powershell/7/Modules/PowerShellGet/PSModule.psm1:9711
Line |
9711 | … talledPackages = PackageManagement\Install-Package @PSBoundParameters
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| No match was found for the specified search criteria and
| module name 'PSRule.Rules.MSFT.OSS'. Try Get-PSRepository to
| see all available registered module repositories.
Get-Package: /opt/microsoft/powershell/7/Modules/PowerShellGet/PSModule.psm1:9445
Line |
9445 | PackageManagement\Get-Package @PSBoundParameters | Microsoft. …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| No match was found for the specified search criteria and
| module names 'PSRule.Rules.MSFT.OSS'.
- Failed to install
Action version:
Version: 1.5.0
The text was updated successfully, but these errors were encountered:
Description of the issue
If a module fails to install, an PowerShell error will be generated in output but this doesn't stop the pipeline.
If the module is not installed, included rules can not be run.
Expected behaviour
If any module fails to install, the action should error.
Failing to install a module could be a transient issue.
Error output
Action version:
The text was updated successfully, but these errors were encountered: