1
0
Fork 0
mirror of https://github.com/actions/go-versions synced 2024-11-24 20:22:40 +00:00

Update Go.Tests.ps1

This commit is contained in:
aparnajyothi-y 2024-07-09 15:32:50 +05:30 committed by GitHub
parent 4856273f98
commit 38ee237c8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"