sisshiki1969/Setup monoruby
Build (with caching) and install monoruby, a Ruby implementation written in Rust with a JIT compiler, and add it to PATH.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prefer-prebuilt | Try a prebuilt release asset before building from source. Set to 'false' to always build the exact checked-out ref (e.g. when `@master` must not lag behind the rolling nightly binary). | no | true |
| cache | Cache the built monoruby binary and its runtime tree with actions/cache. Set to 'false' to always build from source. | no | true |
| cache-version | Arbitrary string mixed into the cache key. Bump it to discard existing caches (e.g. after a runner image change). | no | v1 |
Outputs
| name | description |
|---|---|
| prebuilt | 'true' if a prebuilt release asset was downloaded instead of building from source. |
| cache-hit | 'true' if the built binary was restored from cache ('' when caching is disabled or a prebuilt asset was used). |
| monoruby-version | The installed monoruby crate version (output of `monoruby --version`). |
| ruby-version | The RUBY_VERSION the installed monoruby reports. |