mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
[ubuntu] fix: correct variable to print only tool name (#3767)
it was broken in #3701
This commit is contained in:
@@ -50,5 +50,5 @@ foreach ($tool in $tools) {
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" /opt/hostedtoolcache/$tool
|
||||
chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" "/opt/hostedtoolcache/$($tool.name)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user