Skip to content

Commit

Permalink
strange
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Sep 14, 2023
1 parent c8104ce commit b628dd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion scripts/windowsish-17.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ Write-Host "Dst: $Env:RUNNER_TOOL_CACHE\jq\jq.exe"
Move-Item -Force -LiteralPath "$Env:RUNNER_TEMP\${_bin_name}" -Destination "$Env:RUNNER_TOOL_CACHE\jq\jq.exe"

Write-Host "Adding $Env:RUNNER_TOOL_CACHE\jq\ to path..."
Add-Content "$Env:GITHUB_PATH" "$Env:RUNNER_TOOL_CACHE\jq\"
$(
"$Env:RUNNER_TOOL_CACHE\jq\"
Get-Content "$Env:GITHUB_PATH" -Raw
) | Set-Content "$Env:GITHUB_PATH"

Write-Host "::endgroup::"
5 changes: 4 additions & 1 deletion scripts/windowsish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ Write-Host "Dst: $Env:RUNNER_TOOL_CACHE\jq\jq.exe"
Move-Item -Force -LiteralPath "$Env:RUNNER_TEMP\${_bin_name}" -Destination "$Env:RUNNER_TOOL_CACHE\jq\jq.exe"

Write-Host "Adding $Env:RUNNER_TOOL_CACHE\jq\ to path..."
Add-Content "$Env:GITHUB_PATH" "$Env:RUNNER_TOOL_CACHE\jq\"
$(
"$Env:RUNNER_TOOL_CACHE\jq\"
Get-Content "$Env:GITHUB_PATH" -Raw
) | Set-Content "$Env:GITHUB_PATH"

Write-Host "::endgroup::"

0 comments on commit b628dd2

Please sign in to comment.