Repository navigation
CI: Ruby を使うジョブを ubuntu-24.04 に固定 - #1402
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-rubyv1.283.0 がこのランナーを self-hosted 扱いにして Ruby 2.7.8 をインストールできなくなっていました。変更
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