mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 13:56:47 +00:00
[Ubuntu] Remove apt sources for Postgresql, Mongodb, Heroku (#3091)
This commit is contained in:
committed by
GitHub
parent
1a3945d52c
commit
f29cc02bef
@@ -103,3 +103,10 @@ function Get-CachedToolInstances
|
||||
return $toolInstances
|
||||
}
|
||||
|
||||
function Get-AptSourceRepository {
|
||||
param([String] $PackageName)
|
||||
|
||||
$sourceUrl = Get-Content "$PSScriptRoot/../helpers/apt-sources.txt" | Select-String -Pattern $PackageName | Take-OutputPart -Part 1
|
||||
return $sourceUrl
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user