Skip to content

Ubuntu-latest workflows will use Ubuntu-22.04 #6399

@ddobranic

Description

@ddobranic

Breaking changes

Ubuntu 22.04 is ready to be the default version for the "ubuntu-latest" label in GitHub Actions and Azure DevOps.

Target date

This change will be rolled out over a period of several weeks beginning in October, 3. We plan to complete the migration by December, 15th, 2022.

The motivation for the changes

GitHub Actions and Azure DevOps have supported Ubuntu 22.04 in preview mode since May 2022, and starting from August 2022 Ubuntu 22.04 is generally available for all customers. We have monitored customer feedback to improve the Ubuntu 22.04 image stability and now we are ready to set it as the latest.

Possible impact

The Ubuntu 20.04 image has a different set of software than Ubuntu 22.04. The most significant changes are listed in the table below:

Tool name Ubuntu 20.04 Ubuntu 22.04 Notes
Ruby toolcache 2.5.9
2.6.10
2.7.6
3.0.4
3.1.2
3.* (latest) Only latest available version will be cached on start.
Ruby 2.7.0 3.* (latest) The latest available version for each operating system provided in the APT repository is installed.
Clang
Clang-format
Clang-tidy
10.0.0
11.0.0
12.0.0
12.*
13.*
14.*
Three latest available versions for each operating system provided in the APT repository are installed.
GCC
GFortran
9.4.0
10.3.0
-
9.*
10.*
11.*
Three latest available versions for each operating system provided in the APT repository are installed.
Python 3.8.10 3.10.6 Fresh updates for Python and tools available for Ubuntu 22 in APT repository.
PHP 7.4.32
8.0.24
8.1.11
8.* (latest) Only one latest officially supported PHP version will be supported. See more here.
.NET Core SDK 3.1.120
3.1.202
3.1.302
3.1.423
5.0.104
5.0.214
5.0.303
5.0.408
6.0.401
6.0.401 Only the latest available version will be installed on start.
Node.js 12.22.12
14.20.1
16.18.0
18.12.0
-
14.20.1
16.18.0
18.12.0
EOL version had been deprecated. If your use-case requires using any of these versions, consider using tasks to install Node.js on-flight:
- actions/setup-node (GitHub Actions)
- Node.js Tool Installer (Azure DevOps)
PyPy 2.7.18 [PyPy 7.3.9]
3.6.12 [PyPy 7.3.3]
3.7.13 [PyPy 7.3.9]
3.8.13 [PyPy 7.3.9]
3.9.12 [PyPy 7.3.9]
3.7.13 [PyPy 7.3.9]
3.8.13 [PyPy 7.3.9]
3.9.12 [PyPy 7.3.9]
Deprecated all the versions besides the most recent ones.
Python toolcache 2.7.18
3.6.15
3.7.14
3.8.14
3.9.14
3.10.7
3.7.14
3.8.14
3.9.14
3.10.7
On GitHub Actions, actions/setup-python can install any version on-flight so this change doesn't impact users.

Platforms affected

  • Azure DevOps
  • GitHub Actions

Runner images affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 10.15
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

If you see any issues with your workflows during this transition period:

  • File an issue in this repository
  • Switch back to Ubuntu 20 by specifying the “Ubuntu-20.04" label. We will continue to support Ubuntu 20.

For more information you can take a look at the previous announcement here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions