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

Build Ruby fail #29

Closed
wagenknecht opened this issue Oct 1, 2024 · 1 comment · Fixed by #30
Closed

Build Ruby fail #29

wagenknecht opened this issue Oct 1, 2024 · 1 comment · Fixed by #30
Assignees
Labels
bug Something isn't working

Comments

@wagenknecht
Copy link

[build](https://github.com/wagenknecht/neonframe.page/actions/runs/11132538009/job/30936610505#step:3:7)
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 3.1.4 /opt/hostedtoolcache/Ruby/3.1.4/x64
Once that completes successfully, mark it as complete with:
$ touch /opt/hostedtoolcache/Ruby/3.1.4/x64.complete
It is your responsibility to ensure installing Ruby like that is not done in parallel.
@dmitriy-chernysh dmitriy-chernysh self-assigned this Feb 17, 2025
@dmitriy-chernysh dmitriy-chernysh added the bug Something isn't working label Feb 17, 2025
@dmitriy-chernysh
Copy link
Member

Known issue actions/runner-images#10636
The solution to set runs-on: ubuntu-22.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants