File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 58
58
uses : actions/upload-artifact@v4
59
59
with :
60
60
name : ${{ inputs.ArtifactName }}
61
- path : ${{ inputs.WorkingDirectory }}/outputs/module
61
+ path : ${{ fromJson(steps.build.outputs.result).moduleOutputFolderPath }}
62
62
if-no-files-found : error
63
63
retention-days : 1
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ LogGroup 'Loading inputs' {
24
24
Set-GitHubOutput - Name ModuleName - Value $moduleName
25
25
26
26
$sourceFolderPath = Resolve-Path - Path ' src' | Select-Object - ExpandProperty Path
27
- $moduleOutputFolderPath = Join-Path . - ChildPath ' outputs/module'
27
+ $moduleOutputFolderPath = Join-Path $pwd - ChildPath ' outputs/module'
28
28
[pscustomobject ]@ {
29
29
moduleName = $moduleName
30
30
sourceFolderPath = $sourceFolderPath
@@ -52,4 +52,6 @@ $params = @{
52
52
}
53
53
Build-PSModule @params
54
54
55
+ Set-GithubOutput - Name ModuleOutputFolderPath - Value $moduleOutputFolderPath
56
+
55
57
exit 0
You can’t perform that action at this time.
0 commit comments