Skip to content

Commit

Permalink
no def
Browse files Browse the repository at this point in the history
  • Loading branch information
eriqua committed Feb 24, 2024
1 parent 2cb24cc commit da3fc06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/avm.platform.publish-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ jobs:
Write-Verbose 'Invoke function with' -Verbose
Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose
if($publishOutputs = Publish-ModuleFromTagToPBR @functionInput -Verbose) {
Write-Output ('{0}={1}' -f 'version', $publishOutputs.version) >> $env:GITHUB_OUTPUT
Write-Output ('{0}={1}' -f 'publishedModuleName', $publishOutputs.publishedModuleName) >> $env:GITHUB_OUTPUT
}
Publish-ModuleFromTagToPBR @functionInput -Verbose
# if($publishOutputs = Publish-ModuleFromTagToPBR @functionInput -Verbose) {
# Write-Output ('{0}={1}' -f 'version', $publishOutputs.version) >> $env:GITHUB_OUTPUT
# Write-Output ('{0}={1}' -f 'publishedModuleName', $publishOutputs.publishedModuleName) >> $env:GITHUB_OUTPUT
# }
Write-Output '::endgroup::'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ function Publish-ModuleFromTagToPBR {
[secureString] $PublicRegistryServer,

[Parameter(Mandatory = $false)]
[string] $RepoRoot = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName
[string] $RepoRoot
# = (Get-Item -Path $PSScriptRoot).parent.parent.parent.parent.FullName
)

Write-Verbose "1 [$ModuleReleaseTagName]" -Verbose
Expand Down

0 comments on commit da3fc06

Please sign in to comment.