Skip to content

Commit

Permalink
double check location setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos authored Jul 21, 2023
1 parent b68b5ac commit f550cf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Src/PowerShell/entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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.<step id>.outputs.actions }} in next action to load the json"
Write-Host "Stored actions file in the actions output. Use $${{ steps.<step id>.outputs.actions-file }} in next action to load the file"
Expand Down

0 comments on commit f550cf3

Please sign in to comment.