Add Ubuntu 20.04 to supported platforms (#463)

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Cat™ 2021-01-12 06:22:53 +00:00 committed by GitHub
parent f86a4326a8
commit fecc571bce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -118,6 +118,7 @@ GitHub Actions offers managed [virtual environments](https://help.github.com/en/
| GitHub Runner | Docker Image |
| -------------- | ----------------------------------------------------------------- |
| ubuntu-latest | [node:12.6-buster-slim](https://hub.docker.com/_/buildpack-deps) |
| ubuntu-20.04 | [node:12.6-buster-slim](https://hub.docker.com/_/buildpack-deps) |
| ubuntu-18.04 | [node:12.6-buster-slim](https://hub.docker.com/_/buildpack-deps) |
| ubuntu-16.04 | [node:12.6-stretch-slim](https://hub.docker.com/_/buildpack-deps) |
| windows-latest | `unsupported` |

View file

@ -7,6 +7,7 @@ import (
func (i *Input) newPlatforms() map[string]string {
platforms := map[string]string{
"ubuntu-latest": "node:12.6-buster-slim",
"ubuntu-20.04": "node:12.6-buster-slim",
"ubuntu-18.04": "node:12.6-buster-slim",
"ubuntu-16.04": "node:12.6-stretch-slim",
"windows-latest": "",