Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 502 Bytes

UseRubyVersion.md

File metadata and controls

26 lines (19 loc) · 502 Bytes

UseRubyVersion Task

Azure DevOps Input

# Use Ruby version
# Use the specified version of Ruby from the tool cache, optionally adding it to the PATH
- task: UseRubyVersion@0
  inputs:
    #versionSpec: '3.7' 
    #addToPath: true # Optional

Transformed Github Action

  uses: ruby/[email protected]
  with:
    ruby-version: '3.7'

Unsupported Inputs

  • addToPath (it is always added to PATH)

Version ranges in versionSpec are not supported (eg: >= 2.2)