Skip to content

Commit

Permalink
Set RUNNER_TOOL_CACHE on self-hosted environments
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jul 5, 2022
1 parent a863ab6 commit da9dfe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ self_hosted_setup() {
exit 1
else
self_hosted_helper >/dev/null 2>&1
add_env RUNNER_TOOL_CACHE /tmp
fi
fi
}
Expand Down
1 change: 1 addition & 0 deletions src/scripts/win32.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ if(-not($env:ImageOS) -and -not($env:ImageVersion)) {
New-Item $php_dir -Type Directory -Force > $null 2>&1
Add-Path -PathItem $php_dir
setx PHPROOT $php_dir >$null 2>&1
Add-Env -EnvName RUNNER_TOOL_CACHE -EnvValue $env:TEMP
} else {
$current_profile = "$PSHOME\Profile.ps1"
if(-not(Test-Path -LiteralPath $current_profile)) {
Expand Down

0 comments on commit da9dfe4

Please sign in to comment.