First attempt at find ruby action

This commit is contained in:
Derrick Marcey
2019-06-27 11:50:36 -04:00
parent d2fa3b8435
commit c39a9768cf
7 changed files with 148 additions and 6 deletions

View File

@@ -3,8 +3,15 @@ description: 'Setup a Ruby environment and add it to the PATH'
author: 'GitHub'
inputs:
version:
description: 'The Ruby version to use. Defaults to >= 2.4'
description: 'Version range or exact version of a Ruby version to use.'
default: '>= 2.4'
add-to-path:
description: 'Prepend the retrieved Ruby version to the PATH environment variable to make it available in subsequent actions or scripts without using the output variable.'
default: 'true'
outputs:
ruby-location:
description: "The resolved folder of the Ruby distribution."
runs:
using: 'node'
main: 'lib/main.js'