Allow for Windows'22 container (#91)

(win22 is just a guess, at this moment)
This commit is contained in:
Paulo F. Oliveira
2022-02-22 11:04:38 +00:00
committed by GitHub
parent ebd945dd40
commit b28629c519
3 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -52,6 +52,7 @@ and Erlang/OTP.
| ubuntu-18.04 | 17 - 24 | ✅
| ubuntu-20.04 | 20 - 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.
@@ -65,6 +66,7 @@ uses that to download assets:
| ubuntu18 | ubuntu-18.04
| ubuntu20 | ubuntu-20.04
| win19 | windows-2019
| win22 | windows-2022
as per the following example:
@@ -137,7 +139,7 @@ on: push
jobs:
test:
runs-on: windows-2019
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
+1
View File
@@ -6378,6 +6378,7 @@ function getRunnerOSVersion() {
ubuntu18: 'ubuntu-18.04',
ubuntu20: 'ubuntu-20.04',
win19: 'windows-2019',
win22: 'windows-2022',
}
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]
+1
View File
@@ -405,6 +405,7 @@ function getRunnerOSVersion() {
ubuntu18: 'ubuntu-18.04',
ubuntu20: 'ubuntu-20.04',
win19: 'windows-2019',
win22: 'windows-2022',
}
const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS]