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 5858 uses : actions/upload-artifact@v4
5959 with :
6060 name : ${{ inputs.ArtifactName }}
61- path : ${{ inputs.WorkingDirectory }}/outputs/module
61+ path : ${{ fromJson(steps.build.outputs.result).moduleOutputFolderPath }}
6262 if-no-files-found : error
6363 retention-days : 1
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ LogGroup 'Loading inputs' {
2424 Set-GitHubOutput - Name ModuleName - Value $moduleName
2525
2626 $sourceFolderPath = Resolve-Path - Path ' src' | Select-Object - ExpandProperty Path
27- $moduleOutputFolderPath = Join-Path . - ChildPath ' outputs/module'
27+ $moduleOutputFolderPath = Join-Path $pwd - ChildPath ' outputs/module'
2828 [pscustomobject ]@ {
2929 moduleName = $moduleName
3030 sourceFolderPath = $sourceFolderPath
@@ -52,4 +52,6 @@ $params = @{
5252}
5353Build-PSModule @params
5454
55+ Set-GithubOutput - Name ModuleOutputFolderPath - Value $moduleOutputFolderPath
56+
5557exit 0
You can’t perform that action at this time.
0 commit comments