Skip to content

Commit

Permalink
Do not overwrite the output file
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos authored Jul 21, 2023
1 parent c08ffde commit eb37462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/PowerShell/entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function main {
Write-Host "Stored actions file in the actions output. Use $${{ steps.<step id>.outputs.actions-file }} in next action to load the file"

# write json content to output variable for backward compatibility (this used to be the only way to get the json)
Set-Content -Value "actions='$jsonObject'" -Path $env:GITHUB_OUTPUT
Add-Content -Value "actions='$jsonObject'" -Path $env:GITHUB_OUTPUT
Write-Host "File contents: "
Write-Host "-----------------"
cat $filePath
Expand Down

0 comments on commit eb37462

Please sign in to comment.