Skip to content

Commit 05a1efc

Browse files
Update publish-ruby.yml
1 parent f3759ca commit 05a1efc

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/publish-ruby.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# documentation.
55
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
66
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7+
78
name: Ruby
89

910
on:
@@ -17,23 +18,20 @@ permissions:
1718

1819
jobs:
1920
test:
20-
strategy:
21-
matrix:
22-
ruby-version: ['head','2.4.1', '2.3.4', '2.2.10']
2321
runs-on: ubuntu-latest
2422
steps:
2523
- uses: actions/checkout@v3
26-
- name: Set up Ruby ${{ matrix.ruby-version }}
27-
continue-on-error: true
24+
- name: Set up Ruby
2825
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
2926
# change this to (see https://github.com/ruby/setup-ruby#versioning):
30-
uses: ruby/setup-ruby@v1
27+
# uses: ruby/setup-ruby@v1
28+
uses: ruby/setup-ruby@2b019609e2b0f1ea1a2bc8ca11cb82ab46ada124
3129
with:
32-
ruby-version: ${{ matrix.ruby-version }}
30+
ruby-version: 2.4.1
3331
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3432
- name: Run tests
3533
run: bundle exec rake
36-
34+
3735
- name: Publish to RubyGems
3836
run: |
3937
mkdir -p $HOME/.gem

0 commit comments

Comments
 (0)