We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad8822 commit 7a5a176Copy full SHA for 7a5a176
1 file changed
.github/workflows/Test-ModuleLocal.yml
@@ -82,4 +82,4 @@ jobs:
82
WorkingDirectory: ${{ fromJson(inputs.Settings).WorkingDirectory }}
83
Prescript: | # This is to speed up module loading in Pester.
84
Install-PSResource -Repository PSGallery -TrustRepository -Name PSCustomObject
85
- Import-Module -Name '${{ steps.import-module.outputs.name }}' -RequiredVersion '${{ fromJson(inputs.Settings).Module.Version }}'
+ Import-Module -Name '${{ steps.import-module.outputs.name }}' -RequiredVersion '${{ fromJson(inputs.Settings).Module.Version != '' && fromJson(inputs.Settings).Module.Version || '999.0.0' }}'
0 commit comments