Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 09ec976

Browse files
Fix ruby-version, see actions/runner#849
1 parent 5a022ff commit 09ec976

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ jobs:
1717
- name: Setup Ruby
1818
uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: 3.0
20+
ruby-version: '3.0'
2121
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2222

2323
- name: Build
24-
run: |
25-
bundle exec rake book:all
24+
run: bundle exec rake book:all
2625

2726
- name: Deploy
2827
uses: peaceiris/actions-gh-pages@v3

.github/workflows/preview.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ jobs:
1919
- name: Setup Ruby
2020
uses: ruby/setup-ruby@v1
2121
with:
22-
ruby-version: 3.0
22+
ruby-version: '3.0'
2323
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2424

2525
- name: Build
26-
run: |
27-
bundle exec rake book:all
26+
run: bundle exec rake book:all
2827

2928
- name: Deploy
3029
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)