mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 22:44:20 +02:00
26 lines
889 B
YAML
26 lines
889 B
YAML
name: 'Setup Ruby, JRuby and TruffleRuby'
|
|
description: 'Download a prebuilt Ruby and add it to the PATH in 5 seconds'
|
|
author: 'Benoit Daloze'
|
|
branding:
|
|
color: red
|
|
icon: download
|
|
inputs:
|
|
ruby-version:
|
|
description: 'Engine and version to use, see the syntax in the README. Reads from .ruby-version or .tool-versions if unset.'
|
|
required: false
|
|
default: 'default'
|
|
bundler:
|
|
description: 'The version of Bundler to install. Either none, 1, 2, latest or Gemfile.lock. The default tries Gemfile.lock and otherwise uses latest.'
|
|
required: false
|
|
default: 'default'
|
|
working-directory:
|
|
description: 'The working directory to use for resolving paths for .ruby-version, .tool-versions and Gemfile.lock.'
|
|
required: false
|
|
default: '.'
|
|
outputs:
|
|
ruby-prefix:
|
|
description: 'The prefix of the installed ruby'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|