mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
Cleanup ubuntu1804 image references (#7388)
This commit is contained in:
committed by
GitHub
parent
425daf97b4
commit
e72606ffb6
@@ -42,10 +42,6 @@ function Get-KernelVersion {
|
||||
return $kernelVersion
|
||||
}
|
||||
|
||||
function Test-IsUbuntu18 {
|
||||
return (lsb_release -rs) -eq "18.04"
|
||||
}
|
||||
|
||||
function Test-IsUbuntu20 {
|
||||
return (lsb_release -rs) -eq "20.04"
|
||||
}
|
||||
|
||||
@@ -4,11 +4,6 @@
|
||||
## Desc: Helper functions for installing tools
|
||||
################################################################################
|
||||
|
||||
function isUbuntu18
|
||||
{
|
||||
lsb_release -d | grep -q 'Ubuntu 18'
|
||||
}
|
||||
|
||||
function isUbuntu20
|
||||
{
|
||||
lsb_release -d | grep -q 'Ubuntu 20'
|
||||
|
||||
Reference in New Issue
Block a user