From 8f2759dd43e378d42b44937da5cc11b8bce2cb2b Mon Sep 17 00:00:00 2001 From: Peter <41374977+peter-tanner@users.noreply.github.com> Date: Thu, 15 Feb 2024 02:08:10 +0800 Subject: [PATCH] Update pages-deploy.yml Fix error `An error occurred while installing google-protobuf (3.25.2), and Bundler cannot` See https://talk.jekyllrb.com/t/build-error-at-setup-ruby-stage-of-build-and-deploy-on-actions/8782/4 --- .github/workflows/pages-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 1c4bd9d..1dc75e8 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -42,7 +42,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted + ruby-version: 3.2 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted bundler-cache: true - name: Build site