diff --git a/README.md b/README.md index e68025c..d9a1f76 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/dist/index.js b/dist/index.js index cbdd390..996440e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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] diff --git a/src/setup-beam.js b/src/setup-beam.js index 7a7a26a..acb42d2 100644 --- a/src/setup-beam.js +++ b/src/setup-beam.js @@ -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]