Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Support Ruby 3.4.2 for ubuntu-26.04

未關閉
#943 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
52/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
github-actions, javascript, ruby, ubuntu

研究方向

Start by examining ruby/setup-ruby's handling of Ruby versions and the ruby-builder release URL shown in the failure for ubuntu-26.04. Reproduce the GitHub Actions run with Ruby 3.4.2, then verify that the required prebuilt artifact is available and setup-ruby completes successfully on the x86 runner.

由索引模型根據 Issue 內容生成。

描述

I'm upgrading my project's CI to use the new ubuntu-26.04 Github Runner image (x86), and setup-ruby fails with:

Run ruby/setup-ruby@v1
  with:
    ruby-version: .ruby-version
    bundler-cache: true
    token: ***
Using 3.4.2 as input from file .ruby-version
Modifying PATH
  Entries added to PATH to use selected Ruby:
    /opt/hostedtoolcache/Ruby/3.4.2/x64/bin
Downloading Ruby
  https://github.com/ruby/ruby-builder/releases/download/ruby-3.4.2/ruby-3.4.2-ubuntu-26.04-x64.tar.gz
  Took   0.14 seconds
Error: Error: Unavailable version 3.4.2 for ruby on ubuntu-26.04
          You can request it at https://github.com/ruby/setup-ruby/issues
          Cause: Unexpected HTTP response: 404
    at /home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:50283:15
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async body (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:372:14)

So here I am, requesting for that :)

Let me know if I can help somehow with that.

Thanks for the support!

主要語言
JavaScript
星號
996
分支
373
平均合併
48 分鐘
30 天內合併 PR
7

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ruby/setup-ruby 的其他 Issue

查看 ruby/setup-ruby 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。