From 09ec976d30c274096973f279960ca41cda8901a0 Mon Sep 17 00:00:00 2001 From: Feiyang Chen Date: Thu, 13 Jan 2022 17:15:34 +0800 Subject: [PATCH] Fix ruby-version, see https://github.com/actions/runner/issues/849 --- .github/workflows/gh-pages.yml | 5 ++--- .github/workflows/preview.yml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 8416ae0..c78d5ce 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -17,12 +17,11 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 + ruby-version: '3.0' bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Build - run: | - bundle exec rake book:all + run: bundle exec rake book:all - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 6aed7f9..165fdef 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -19,12 +19,11 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 + ruby-version: '3.0' bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Build - run: | - bundle exec rake book:all + run: bundle exec rake book:all - name: Deploy uses: peaceiris/actions-gh-pages@v3