Quoting
This commit is contained in:
@@ -15,7 +15,7 @@ steps:
|
|||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-ruby@v1
|
- uses: actions/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
version: 2.x // Version range or exact version of a Ruby version to use, using semvers version range syntax.
|
version: '2.x' // Version range or exact version of a Ruby version to use, using semvers version range syntax.
|
||||||
- run: ruby hello.rb
|
- run: ruby hello.rb
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -23,9 +23,10 @@ Matrix Testing:
|
|||||||
```yaml
|
```yaml
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
runs-on: ubuntu-16.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
ruby: [ 2.x, 3.x ]
|
ruby: [ '2.x', '3.x' ]
|
||||||
name: Ruby ${{ matrix.ruby }} sample
|
name: Ruby ${{ matrix.ruby }} sample
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
@@ -33,7 +34,7 @@ jobs:
|
|||||||
uses: actions/setup-ruby@v1
|
uses: actions/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.ruby }}
|
version: ${{ matrix.ruby }}
|
||||||
architecture: x64
|
architecture: 'x64'
|
||||||
- run: ruby hello.rb
|
- run: ruby hello.rb
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user