Skip to content

CI: Ruby を使うジョブを ubuntu-24.04 に固定 - #1402

Merged
azu merged 1 commit into
developfrom
claude/project-thread-l9qroc
Nov 9, 2026
Merged

azu merged 1 commit into
developfrom
claude/project-thread-l9qroc

Conversation

@azu

@azu azu commented Nov 9, 2026

Copy link
Copy Markdown
Member

Requested by azu · project thread

概要

Deploy ワークフローの Install Ruby ステップが失敗していました(https://github.com/jser/jser.github.io/actions/runs/42540923926/job/128915418414 )。

ubuntu-latest が ubuntu-26.04 を指すようになり、ruby/setup-ruby v1.283.0 がこのランナーを self-hosted 扱いにして Ruby 2.7.8 をインストールできなくなっていました。

Error: The current runner (ubuntu-26.04-x64) was detected as self-hosted because the platform does not match a GitHub-hosted runner image

変更

  • deploy.yml と jekyll-build.yml の runs-on を ubuntu-latest から ubuntu-24.04 に固定

setup-ruby を更新して 26.04 対応にする方法もありますが、EOL の Ruby 2.7.8 は 26.04 向けのビルド済みバイナリが用意されない可能性が高いため、ランナーを固定する方法にしました。


Generated by Claude Code

ubuntu-latest now resolves to ubuntu-26.04, which ruby/setup-ruby v1.283.0
treats as self-hosted and fails to install Ruby 2.7.8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TSdrAEotXuxerG4J6Pc9vS
@azu azu self-assigned this Nov 9, 2026
@azu
azu merged commit 394ae53 into develop Nov 9, 2026
2 checks passed
@azu
azu deleted the claude/project-thread-l9qroc branch November 9, 2026 00:45
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.

2 participants