From 38ee237c8e824cc50cc59bee10ba8aab1adc0247 Mon Sep 17 00:00:00 2001 From: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:32:50 +0530 Subject: [PATCH] Update Go.Tests.ps1 --- tests/Go.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Go.Tests.ps1 b/tests/Go.Tests.ps1 index 1c7ae48..cf8196b 100644 --- a/tests/Go.Tests.ps1 +++ b/tests/Go.Tests.ps1 @@ -45,7 +45,7 @@ Describe "Go" { } It "cached version is used without downloading" { - Write-Host "Runner Type: $env:RUNNER_TYPE" + if ($env:RUNNER_TYPE -eq "self-hosted") { # Get the installed version of Go $goVersion = Invoke-Expression "go version"