mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-22 22:56:07 +00:00
Allow for Windows'22 container (#91)
(win22 is just a guess, at this moment)
This commit is contained in:
committed by
GitHub
parent
ebd945dd40
commit
b28629c519
@@ -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
|
||||
|
||||
Vendored
+1
@@ -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]
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user