Huxpro / Huxpro/huxpro.github.io

错误:当前运行程序(ubuntu-24.04-x64)被检测为自托管,因为该平台与GitHub托管的运行程序映像不匹配(或者该映像已弃用且不再受支持)。

Open
#502 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
7.6k
Forks
6.6k
Avg merge
1d 12h
Merged PRs (30d)
1

Description

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 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.