Skip to content

Commit

Permalink
Update available OSes to match available runner images
Browse files Browse the repository at this point in the history
macos-10, ubuntu-18.04 and ubuntu-16.04 are no longer available and have been removed.

macos-11 now corresponds to OS version 11.7 and macos-12 now corresponds to OS version 12.7, so the minor versions have been removed from the macOS list.

Finally, this commit adds 24.04 to the Ubuntu platform list, as it is now available in beta.

See https://github.com/actions/runner-images?tab=readme-ov-file#available-images
  • Loading branch information
angelapwen committed Jun 28, 2024
1 parent a6ceb06 commit fe80ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export namespace OS {
}

const AVAILABLE_OS: { [platform: string]: string[] } = {
macOS: ["latest", "12.0", "11.0", "10.15"],
Ubuntu: ["latest", "22.04", "20.04", "18.04", "16.04"],
macOS: ["latest", "14", "13", "12", "11"],
Ubuntu: ["latest", "24.04", "22.04", "20.04"],
Windows: ["latest", "10"],
};

Expand Down

0 comments on commit fe80ca5

Please sign in to comment.