mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-31 20:20:49 +00:00
Allow for Windows'22 container (#91)
(win22 is just a guess, at this moment)
This commit is contained in:
@@ -52,6 +52,7 @@ and Erlang/OTP.
|
|||||||
| ubuntu-18.04 | 17 - 24 | ✅
|
| ubuntu-18.04 | 17 - 24 | ✅
|
||||||
| ubuntu-20.04 | 20 - 24 | ✅
|
| ubuntu-20.04 | 20 - 24 | ✅
|
||||||
| windows-2019 | 21* - 24 | ✅
|
| windows-2019 | 21* - 24 | ✅
|
||||||
|
| windows-2022 | 21* - 24 | ✅
|
||||||
|
|
||||||
**Note** *: prior to 23, Windows builds are only available for minor versions, e.g. 21.0, 21.3, 22.0, etc.
|
**Note** *: prior to 23, Windows builds are only available for minor versions, e.g. 21.0, 21.3, 22.0, etc.
|
||||||
|
|
||||||
@@ -65,6 +66,7 @@ uses that to download assets:
|
|||||||
| ubuntu18 | ubuntu-18.04
|
| ubuntu18 | ubuntu-18.04
|
||||||
| ubuntu20 | ubuntu-20.04
|
| ubuntu20 | ubuntu-20.04
|
||||||
| win19 | windows-2019
|
| win19 | windows-2019
|
||||||
|
| win22 | windows-2022
|
||||||
|
|
||||||
as per the following example:
|
as per the following example:
|
||||||
|
|
||||||
@@ -137,7 +139,7 @@ on: push
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: erlef/setup-beam@v1
|
- uses: erlef/setup-beam@v1
|
||||||
|
|||||||
Vendored
+1
@@ -6378,6 +6378,7 @@ function getRunnerOSVersion() {
|
|||||||
ubuntu18: 'ubuntu-18.04',
|
ubuntu18: 'ubuntu-18.04',
|
||||||
ubuntu20: 'ubuntu-20.04',
|
ubuntu20: 'ubuntu-20.04',
|
||||||
win19: 'windows-2019',
|
win19: 'windows-2019',
|
||||||
|
win22: 'windows-2022',
|
||||||
}
|
}
|
||||||
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]
|
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]
|
||||||
|
|
||||||
|
|||||||
@@ -405,6 +405,7 @@ function getRunnerOSVersion() {
|
|||||||
ubuntu18: 'ubuntu-18.04',
|
ubuntu18: 'ubuntu-18.04',
|
||||||
ubuntu20: 'ubuntu-20.04',
|
ubuntu20: 'ubuntu-20.04',
|
||||||
win19: 'windows-2019',
|
win19: 'windows-2019',
|
||||||
|
win22: 'windows-2022',
|
||||||
}
|
}
|
||||||
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]
|
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user