Try to find the Bundler version from Gemfile.lock, otherwise install latest

This commit is contained in:
Benoit Daloze
2020-04-01 00:10:54 +02:00
parent e16528e678
commit f964e8aa48
4 changed files with 109 additions and 15 deletions
+4
View File
@@ -9,6 +9,10 @@ inputs:
description: 'Engine and version to use, see the syntax in the README. Reads from .ruby-version 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'
outputs:
ruby-prefix:
description: 'The prefix of the installed ruby'