diff --git a/Src/PowerShell/entrypoint.ps1 b/Src/PowerShell/entrypoint.ps1 index bd23a77..7170e9e 100644 --- a/Src/PowerShell/entrypoint.ps1 +++ b/Src/PowerShell/entrypoint.ps1 @@ -32,7 +32,8 @@ function main { Set-Content -Value "$jsonObject" -Path $filePath # store the json in a file and write the path to the output variable - $filePath = $env:GITHUB_WORKSPACE/used-actions.json + Write-Host "Location: $($env:GITHUB_WORKSPACE)" + $filePath = "$($env:GITHUB_WORKSPACE)/used-actions.json" Set-Content -Value "actions-file='$filePath'" -Path $env:GITHUB_OUTPUT Write-Host "Stored actions in the actions output. Use $${{ steps..outputs.actions }} in next action to load the json" Write-Host "Stored actions file in the actions output. Use $${{ steps..outputs.actions-file }} in next action to load the file"