Skip to content

Commit

Permalink
fix: Re-enabled post-publish validation (#754)
Browse files Browse the repository at this point in the history
## Description

Recovered post-publish validation environment variables that were
incorrectly removed in PR:
#673

---------

Co-authored-by: Erika Gressi <[email protected]>
  • Loading branch information
AlexanderSehr and eriqua authored Dec 29, 2023
1 parent 31bad2a commit 582ac4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/templates/avm-publishModule/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ runs:
Write-Verbose "Invoke function with" -Verbose
Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose
Publish-ModuleFromPathToPBR @functionInput -Verbose
if($publishOutputs = Publish-ModuleFromPathToPBR @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

0 comments on commit 582ac4c

Please sign in to comment.