Skip to content

using a different version of ruby #27166

Answered by weide-zhou
tswetonic asked this question in Actions
Discussion options

You must be logged in to vote

Hi @tswetonic ,

For actions/setup-ruby, the required minimum version is 2.4. You can find it mentioned in action.yaml here.

You can use another action ‘ruby/setup-ruby@v1’  instead. Code as below, hope it helps.

- uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.3.4
    - run: ruby -v

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants