mirror of
https://github.com/dcarbone/install-jq-action.git
synced 2026-02-12 02:56:56 +08:00
windows is mysterious.
This commit is contained in:
@@ -70,7 +70,7 @@ Move-Item -Force -LiteralPath "$Env:RUNNER_TEMP\${_bin_name}" -Destination "$Env
|
|||||||
|
|
||||||
Write-Host "Adding $Env:RUNNER_TOOL_CACHE\jq\ to path..."
|
Write-Host "Adding $Env:RUNNER_TOOL_CACHE\jq\ to path..."
|
||||||
$(
|
$(
|
||||||
"$Env:RUNNER_TOOL_CACHE\jq\"
|
"$Env:RUNNER_TOOL_CACHE\jq\" -Raw
|
||||||
Get-Content "$Env:GITHUB_PATH" -Raw
|
Get-Content "$Env:GITHUB_PATH" -Raw
|
||||||
) | Set-Content "$Env:GITHUB_PATH"
|
) | Set-Content "$Env:GITHUB_PATH"
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ Move-Item -Force -LiteralPath "$Env:RUNNER_TEMP\${_bin_name}" -Destination "$Env
|
|||||||
|
|
||||||
Write-Host "Adding $Env:RUNNER_TOOL_CACHE\jq\ to path..."
|
Write-Host "Adding $Env:RUNNER_TOOL_CACHE\jq\ to path..."
|
||||||
$(
|
$(
|
||||||
"$Env:RUNNER_TOOL_CACHE\jq\"
|
"$Env:RUNNER_TOOL_CACHE\jq\" -Raw
|
||||||
Get-Content "$Env:GITHUB_PATH" -Raw
|
Get-Content "$Env:GITHUB_PATH" -Raw
|
||||||
) | Set-Content "$Env:GITHUB_PATH"
|
) | Set-Content "$Env:GITHUB_PATH"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user