neiam
/action-setup-beam
action-setup-beam
public · Issues · Pulls · Labels · Forks · Compare · Actions queued
⭐
Log in to mark this repository.
Allow for Windows'22 container (#91)
b28629c · Paulo F. Oliveira · 2022-02-22 11:04
Message
{commit_body(@commit)}
Files changed
modified
README.md
+3
−1
@@ -52,6 +52,7 @@ and Erlang/OTP.
| 52 | 52 | | ubuntu-18.04 | 17 - 24 | ✅ |
| 53 | 53 | | ubuntu-20.04 | 20 - 24 | ✅ |
| 54 | 54 | | windows-2019 | 21* - 24 | ✅ |
| 55 | +| windows-2022 | 21* - 24 | ✅ | |
| 55 | 56 | |
| 56 | 57 | **Note** *: prior to 23, Windows builds are only available for minor versions, e.g. 21.0, 21.3, 22.0, etc. |
| 57 | 58 |
@@ -65,6 +66,7 @@ uses that to download assets:
| 65 | 66 | | ubuntu18 | ubuntu-18.04 |
| 66 | 67 | | ubuntu20 | ubuntu-20.04 |
| 67 | 68 | | win19 | windows-2019 |
| 69 | +| win22 | windows-2022 | |
| 68 | 70 | |
| 69 | 71 | as per the following example: |
| 70 | 72 |
@@ -137,7 +139,7 @@ on: push
| 137 | 139 | |
| 138 | 140 | jobs: |
| 139 | 141 | test: |
| 140 | − runs-on: windows-2019 | |
| 142 | + runs-on: windows-2022 | |
| 141 | 143 | steps: |
| 142 | 144 | - uses: actions/checkout@v2 |
| 143 | 145 | - uses: erlef/setup-beam@v1 |
modified
dist/index.js
+1
−0
@@ -6378,6 +6378,7 @@ function getRunnerOSVersion() {
| 6378 | 6378 | ubuntu18: 'ubuntu-18.04', |
| 6379 | 6379 | ubuntu20: 'ubuntu-20.04', |
| 6380 | 6380 | win19: 'windows-2019', |
| 6381 | + win22: 'windows-2022', | |
| 6381 | 6382 | } |
| 6382 | 6383 | const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS] |
| 6383 | 6384 |
modified
src/setup-beam.js
+1
−0
@@ -405,6 +405,7 @@ function getRunnerOSVersion() {
| 405 | 405 | ubuntu18: 'ubuntu-18.04', |
| 406 | 406 | ubuntu20: 'ubuntu-20.04', |
| 407 | 407 | win19: 'windows-2019', |
| 408 | + win22: 'windows-2022', | |
| 408 | 409 | } |
| 409 | 410 | const containerFromEnvImageOS = ImageOSToContainer[process.env.ImageOS] |
| 410 | 411 |
Parents: ebd945d