Skip to content

Pin release workflow to ubuntu-24.04 - #315

Merged
Ayomi-gh merged 1 commit into
mainfrom
ayomi-gh/pin-release-runner
Nov 4, 2026
Merged

Ayomi-gh merged 1 commit into
mainfrom
ayomi-gh/pin-release-runner

Conversation

@Ayomi-gh

@Ayomi-gh Ayomi-gh commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The release workflow has failed for 1.2.7 (#312) and 1.2.8 (#314), so neither version has been published. The latest release is still v1.2.6.

Cause: release.yml uses ubuntu-latest, which now resolves to Ubuntu 26.04 with GCC 15.2. The rugged 1.9.6 native extension fails to build there (The compiler failed to generate an executable file), so bundle install fails in setup-ruby.

Fix: pin the release job to ubuntu-24.04, which test.yml and lint.yml already use and where they pass.

After merge: this PR doesn't change lib/version.rb, so the release won't run on its own. Run the release workflow manually (workflow_dispatch) on main to publish 1.2.8, which also includes the 1.2.7 changes.

ubuntu-latest moved to Ubuntu 26.04 (GCC 15), where rugged 1.9.6 fails
to compile, breaking the 1.2.7 and 1.2.8 releases. Matches test.yml and
lint.yml, which already pin ubuntu-24.04.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI auto review requested due to automatic review settings November 4, 2026 13:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is limited to pinning the release job to Ubuntu 24.04 while preserving existing release, build, test, and publishing steps, with no active issues identified.

No open issues 🎉

What changed in this PR

Pins the release workflow to Ubuntu 24.04 to prevent native Ruby dependency build failures caused by the moving ubuntu-latest runner image.

Changes:

  • Replaces ubuntu-latest with ubuntu-24.04 for the release job.
  • Preserves existing release triggers, permissions, build, test, and publishing steps.
File Description
.github/​workflows/​release.yml Pins the release job to the Ubuntu 24.04 runner.

Review effort: Lite (auto)

@Ayomi-gh
Ayomi-gh merged commit 1da65ae into main Nov 4, 2026
14 checks passed
@Ayomi-gh
Ayomi-gh deleted the ayomi-gh/pin-release-runner branch November 4, 2026 16:10
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.

4 participants