generated from actions/javascript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 345
Closed
Description
Let's say I want to install the latest bundler 2.2.x.
- If I pass
bundler: 2.2, then it installs2.3.xbecause it generates the commandgem install bundler -v ~> 2.2 - if I pass
bundler: 2.2.0, then it installs2.2.0, and not the latest, because it generates the commandgem install bundler -v 2.2.0. - If I pass
bundler: 2.2.xthat is not valid input into the gem install command. - I've also tried mangling the input in various ways to bypass the regex that gates the
~>, but those are detected as invalid input.
If there is no workaround, then this is an enhancement request to perhaps allow something like bundler: 2.2.x, which, if detected, would translate to gem install bundler -v ~> 2.2.0.
Example:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: 2.2.x
bundler-cache: trueMetadata
Metadata
Assignees
Labels
No labels