Use ruby-version (#10)
Some checks failed
Main workflow / Run (ubuntu-latest) (push) Has been cancelled
Main workflow / Run (windows-latest) (push) Has been cancelled

This commit is contained in:
Danny McCormick
2019-08-13 16:29:23 -04:00
committed by GitHub
parent 8dd8957526
commit c6c44b217a
4 changed files with 14 additions and 6 deletions

View File

@@ -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
```