Skip to content

fix: update CI workflows to use current runner and action versions#10863

Open
BenJule wants to merge 1 commit into
bambulab:masterfrom
BenJule:fix/ci-workflow-deprecations
Open

fix: update CI workflows to use current runner and action versions#10863
BenJule wants to merge 1 commit into
bambulab:masterfrom
BenJule:fix/ci-workflow-deprecations

Conversation

@BenJule
Copy link
Copy Markdown

@BenJule BenJule commented May 21, 2026

Summary

Several workflows reference deprecated or removed runners and actions:

  • windows-latestwindows-2025 (build_all, build_bambu, build_check_cache, build_deps, winget_updater) — redirects to windows-2025-vs2026 on June 15 2026
  • ubuntu-20.04ubuntu-22.04 (build_ubuntu) — ubuntu-20.04 was removed in April 2025, workflow fails immediately
  • podman buildx buildpodman build (build_ubuntu) — podman has no buildx subcommand, fails at runtime
  • microsoft/setup-msbuild@v2@v3 (build_bambu, build_deps) — v2 uses deprecated Node.js 20
  • branches: mainbranches: master (build_all push trigger) — repo default branch is master so workflow never fired on push
  • refs/heads/mainrefs/heads/master (build_bambu mac-artifact condition) — condition was always true, zip created on every push
  • winget-releaser@main@v2 (winget_updater) — floating @main pin replaced with stable release
  • Remove duplicate brew unlink python3 in build_deps

Test plan

  • All changes are runner/action version bumps or branch name corrections, no build logic modified
  • windows-latest currently resolves to windows-2025 so the swap is like-for-like
  • ubuntu-22.04 is used by all other Linux steps in the build chain

- Replace deprecated windows-latest runner with windows-2025 across
  build_all, build_bambu, build_check_cache, build_deps, build_ubuntu,
  winget_updater (windows-latest redirects to windows-2025-vs2026
  on June 15 2026, so explicit pin avoids the redirect)
- Replace ubuntu-20.04 runner with ubuntu-22.04 in build_ubuntu
  (ubuntu-20.04 was removed from GitHub-hosted runners in April 2025)
- Fix podman buildx build → podman build in build_ubuntu
  (podman has no buildx subcommand; the command failed at runtime)
- Update microsoft/setup-msbuild@v2 → @V3 in build_bambu and
  build_deps (@v2 depends on deprecated Node.js 20 runner)
- Fix push trigger branch main → master in build_all; the repo
  default branch is master so the workflow never fired on push
- Fix refs/heads/main → refs/heads/master in build_bambu mac-artifact
  condition (condition was always true, zipping on every push)
- Pin winget-releaser@main → @v2 in winget_updater (floating @main
  is not reproducible; @v2 is the current stable release)
- Remove duplicate 'brew unlink python3' call in build_deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant