Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faild in ubuntu-24.04 runner #595

Closed
Tracked by #239
kachick opened this issue May 14, 2024 · 4 comments · Fixed by #596
Closed
Tracked by #239

Faild in ubuntu-24.04 runner #595

kachick opened this issue May 14, 2024 · 4 comments · Fixed by #596

Comments

@kachick
Copy link
Member

kachick commented May 14, 2024

Ubuntu 24.04 runner has been released.

actions/runner-images#9848

But, attempting to use it resulted in the following errors.

Error: The current runner (ubuntu-24.04-x64) was detected as self-hosted because the platform does not match a GitHub-hosted runner image (or that image is deprecated and no longer supported).
In such a case, you should install Ruby in the $RUNNER_TOOL_CACHE yourself, for example using https://github.com/rbenv/ruby-build
You can take inspiration from this workflow for more details: https://github.com/ruby/ruby-builder/blob/master/.github/workflows/build.yml
$ ruby-build head /opt/hostedtoolcache/Ruby/head/x64
Once that completes successfully, mark it as complete with:
$ touch /opt/hostedtoolcache/Ruby/head/x64.complete
It is your responsibility to ensure installing Ruby like that is not done in parallel.
iBug added a commit to iBug/iBug-source that referenced this issue May 15, 2024
iBug pushed a commit to iBugOne/iBugOne.github.io that referenced this issue May 15, 2024
[60b17a8] Actions: Rollback to ubuntu-latest

ruby/setup-ruby#595
@eregon
Copy link
Member

eregon commented May 19, 2024

1.9 fails to build: https://github.com/ruby/ruby-builder/actions/runs/9148390417/job/25150867207
The rest seems to build fine.

I'll only add the latest releases of JRuby and TruffleRuby for now on 24.04, we can add more later.

@eregon
Copy link
Member

eregon commented May 20, 2024

https://github.com/ruby/setup-ruby/releases/tag/v1.177.0
Some -head builds still need to be fixed, some of them waiting on actions/runner-images#9895.

@Bo98
Copy link

Bo98 commented May 20, 2024

Is the double 1.177.0 intentional? https://github.com/ruby/setup-ruby/tags

Seems to make Dependabot error

@eregon
Copy link
Member

eregon commented May 21, 2024

Ah damn that's what I get from doing a release on a phone. Will fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants