Skip to content

Commit 309158e

Browse files
author
Jonathan Wenger
committed
Update workflows with version action
1 parent df77255 commit 309158e

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/gem-push.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ on:
77
jobs:
88
build:
99
name: Build + Publish
10-
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
os: [ubuntu-latest, macos-latest]
14+
ruby: ["2.7"]
15+
runs-on: ${{ matrix.os }}
1116
permissions:
1217
contents: read
1318
packages: write
@@ -21,10 +26,11 @@ jobs:
2126
run: |
2227
echo $VERSION
2328
echo ${{ env.VERSION }}
24-
- name: Set up Ruby 2.6
25-
uses: actions/setup-ruby@v1
29+
- name: Set up Ruby Versions
30+
uses: ruby/setup-ruby@v1
2631
with:
27-
ruby-version: 2.6.x
32+
ruby-version: ${{ matrix.ruby }}
33+
bundler-cache: true
2834

2935
- name: Retrieve bearer token
3036
id: get_bearer_token

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v2
24-
- name: Set up Ruby 2.6
24+
- name: Set up Ruby Versions
2525
uses: ruby/setup-ruby@v1
2626
with:
2727
ruby-version: ${{ matrix.ruby }}

0 commit comments

Comments
 (0)