Use ruby-version (#10)
This commit is contained in:
@@ -19,7 +19,7 @@ steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-ruby@v1
|
||||
with:
|
||||
version: '2.x' // Version range or exact version of a Ruby version to use, using semvers version range syntax.
|
||||
ruby-version: '2.x' // Version range or exact version of a Ruby version to use, using semvers version range syntax.
|
||||
- run: ruby hello.rb
|
||||
```
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Setup ruby
|
||||
uses: actions/setup-ruby@v1
|
||||
with:
|
||||
version: ${{ matrix.ruby }}
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
architecture: 'x64'
|
||||
- run: ruby hello.rb
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user