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

Update Go.Tests.ps1

This commit is contained in:
aparnajyothi-y 2024-07-08 12:34:11 +05:30 committed by GitHub
parent 638c3d6a70
commit 0b6a6fa38c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@ Describe "Go" {
$useGoLogFile | Should -Exist
$useGoLogContent = Get-Content $useGoLogFile -Raw
$useGoLogContent | Should -Match "Found in cache"
} else {
} elseif ($env:RUNNER_TYPE -eq "self-hosted"){
# Get the installed version of Go
$goVersion = Invoke-Expression "go version"
# Check if Go is installed