GitHub Actions ubuntu-latest 标签将于 10-11 月迁移至 Ubuntu
Ubuntu 26 generally available and latest migration
CI/CD 核心环境默认 OS 版本即将变更,可能引发构建失败。请检查所有使用 ubuntu-latest 的工作流,提前测试兼容性或在 10 月 19 日前锁定到 ubuntu-24.04。
The Ubuntu 26.04 runner image for GitHub Actions is now out of public preview and fully supported for production workflows on both x64 and arm64. As part of this release, the ubuntu-latest label will migrate to Ubuntu 26.04, giving you the latest supported Ubuntu release by default.
GitHub Actions 的 Ubuntu 26.04 运行器镜像现已结束公共预览阶段,全面支持在 x64 和 arm64 架构上用于生产工作流。作为此次发布的一部分,ubuntu-latest 标签将迁移至 Ubuntu 26.04,从而默认为您提供最新支持的 Ubuntu 版本。
Using Ubuntu 26.04
使用 Ubuntu 26.04
To run your workflows on the new image, set runs-on: ubuntu-26.04 or runs-on: ubuntu-26.04-arm in your workflow file. Ubuntu 26.04 includes updated, and in some cases removed, tools and tool versions compared to earlier images. These changes can break workflows that depend on specific software versions or preinstalled packages. Review the full list of changes and test your workflows against Ubuntu 26 before the migration begins.
要在新的镜像上运行您的工作流,请在工作流文件中设置 runs-on: ubuntu-26.04 或 runs-on: ubuntu-26.04-arm。与早期镜像相比,Ubuntu 26.04 包含已更新或在某些情况下已移除的工具和工具版本。这些更改可能会破坏依赖特定软件版本或预装包的工作流。在迁移开始之前,请查看完整的变更列表,并在 Ubuntu 26 上测试您的工作流。
ubuntu-latest is migrating to Ubuntu 26.04
ubuntu-latest 正在迁移至 Ubuntu 26.04
The ubuntu-latest label will migrate from Ubuntu 24.04 to Ubuntu 26.04. This migration will roll out gradually between October 19 and November 19, 2026. During this window, workflows that use ubuntu-latest will automatically move to Ubuntu 26.04.
ubuntu-latest 标签将从 Ubuntu 24.04 迁移至 Ubuntu 26.04。此迁移将在 2026 年 10 月 19 日至 11 月 19 日期间逐步推出。在此期间,使用 ubuntu-latest 的工作流将自动迁移至 Ubuntu 26.04。
Because this moves your workflows to a new operating system version, the migration may break builds that rely on tools, packages, or versions that changed between Ubuntu 24.04 and 26.04. To prepare:
由于这将使您的工作流迁移到新的操作系统版本,因此依赖在 Ubuntu 24.04 和 26.04 之间发生变化的工具、包或版本的构建可能会中断。为了做好准备:
- Test your workflows against ubuntu-26.04 before the migration begins.
- If you are not ready to move, pin your workflows to ubuntu-24.04 to stay on the current image.
- 在迁移开始之前,请在 ubuntu-26.04 上测试您的工作流。
- 如果您尚未准备好迁移,请将您的工作流固定为 ubuntu-24.04,以继续使用当前镜像。
Learn more
了解更多
To learn more about available images, see the GitHub-hosted runners documentation. To see the included software list or report issues with the image, head to the runner-images repository.
要了解有关可用镜像的更多信息,请参阅 GitHub 托管运行器文档。要查看包含的软件列表或报告镜像问题,请访问 runner-images 仓库。
The post Ubuntu 26 generally available and latest migration appeared first on The GitHub Blog.
《Ubuntu 26 正式发布及最新迁移》一文首发于 GitHub 博客。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力