mirror of
https://github.com/actions/go-versions.git
synced 2026-02-16 14:01:29 +00:00
Update Go.Tests.ps1
This commit is contained in:
@@ -45,7 +45,7 @@ Describe "Go" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
It "cached version is used without downloading" {
|
It "cached version is used without downloading" {
|
||||||
Write-Host "Runner Type: $env:RUNNER_TYPE"
|
|
||||||
if ($env:RUNNER_TYPE -eq "self-hosted") {
|
if ($env:RUNNER_TYPE -eq "self-hosted") {
|
||||||
# Get the installed version of Go
|
# Get the installed version of Go
|
||||||
$goVersion = Invoke-Expression "go version"
|
$goVersion = Invoke-Expression "go version"
|
||||||
|
|||||||
Reference in New Issue
Block a user