Skip to content

Commit 8e3108e

Browse files
committed
Add Bundler input
1 parent c46740a commit 8e3108e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The action's inputs are shown below:
1212
- uses: MSP-Greg/setup-ruby-pkgs@v1
1313
with:
1414
ruby-version:
15+
bundler:
1516
apt: # Ubuntu
1617
brew: # macOS
1718
mingw: # Windows mingw / mswin
@@ -29,6 +30,10 @@ All inputs are optional.
2930
3031
Installs the Ruby version using the code from [ruby/setup-ruby]. The available versions can be found in its [README](https://github.com/ruby/setup-ruby/blob/master/README.md#supported-versions).
3132
33+
### bundler:
34+
35+
Installs Bundler using the code from [ruby/setup-ruby].
36+
3237
### apt: (Ubuntu)
3338
3439
List of packages to install. Space delimited. Special options are `_update_` and `_upgrade_`.

action.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ author: 'MSP-Greg'
44
inputs:
55
ruby-version:
66
description: 'Ruby version'
7-
default: ''
7+
required: false
8+
default: 'default'
9+
bundler:
10+
description: 'The version of Bundler to install. Either none, 1, 2, latest or Gemfile.lock. The default tries Gemfile.lock and otherwise uses latest.'
11+
required: false
12+
default: 'default'
813
apt-get:
914
description: 'Ubuntu - install packages'
1015
default: ''

0 commit comments

Comments
 (0)