mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 15:16:08 +00:00
Prevent deprecation warnings (#83)
This commit is contained in:
committed by
GitHub
parent
c71c5c91bb
commit
65219deb69
@@ -398,10 +398,8 @@ function sortVersions(left, right) {
|
||||
|
||||
function getRunnerOSVersion() {
|
||||
const ImageOSToContainer = {
|
||||
ubuntu16: 'ubuntu-16.04',
|
||||
ubuntu18: 'ubuntu-18.04',
|
||||
ubuntu20: 'ubuntu-20.04',
|
||||
win16: 'windows-2016',
|
||||
win19: 'windows-2019',
|
||||
}
|
||||
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]
|
||||
|
||||
Reference in New Issue
Block a user