File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,14 @@ jobs:
108
108
- name : Install-PSModuleHelpers
109
109
uses : PSModule/Install-PSModuleHelpers@v1
110
110
111
- - name : Get-ModuleName
111
+ - name : Import-Module
112
+ id : import-module
112
113
shell : pwsh
113
114
working-directory : ${{ inputs.WorkingDirectory }}
114
115
run : |
115
116
$name = Get-ChildItem "outputs/module" | Select-Object -ExpandProperty Name
116
- Install-PSModule -Path "outputs/module/$name"
117
+ $path = Install-PSModule -Path "outputs/module/$name" -PassThru
118
+ "path=$path" >> $GITHUB_OUTPUT
117
119
118
120
- name : Test-ModuleLocal
119
121
uses : PSModule/Invoke-Pester@v3
@@ -129,5 +131,5 @@ jobs:
129
131
Output_Verbosity : Detailed
130
132
CodeCoverage_OutputFormat : JaCoCo
131
133
Path : ${{ inputs.TestFolderPath }}
132
- Run_Path : outputs/ module
134
+ Run_Path : ${{ steps.import- module.outputs.path }}
133
135
WorkingDirectory : ${{ inputs.WorkingDirectory }}
You can’t perform that action at this time.
0 commit comments