ruby / setup-ruby

An action to download a prebuilt Ruby and add it to the PATH in 5 seconds

Home Page:https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An error occurred while installing google-protobuf (3.25.1), and Bundler cannot continue

xiaoyouPrince opened this issue · comments

Ensure the following before filing this issue

  • I verified it reproduces with the latest version with - uses: ruby/setup-ruby@v1 (see Versioning policy)

  • I tried to reproduce the issue locally by following the workflow steps (including all commands done by ruby/setup-ruby, except for Downloading Ruby & Extracting Ruby),
    and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)

Are you running on a GitHub-hosted runner or a self-hosted runner?

GitHub-hosted runner

Link to the failed workflow job (must be a public workflow job, so the necessary information is available)

https://github.com/xiaoyouPrince/xiaoyouPrince.github.io/actions/runs/7343823910/job/19994881328

Any other notes?

jobs:
build:
runs-on: ubuntu-latest

steps:
  - name: Checkout
    uses: actions/checkout@v4
    with:
      fetch-depth: 0
      # submodules: true
      # If using the 'assets' git submodule from Chirpy Starter, uncomment above
      # (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)

  - name: Setup Pages
    id: pages
    uses: actions/configure-pages@v3

  - name: Setup Ruby
    uses: ruby/setup-ruby@v1
    with:
      ruby-version: 3.3
      bundler-cache: true

Sorry maybe this is a network error. after many tries, it successfully.
https://github.com/xiaoyouPrince/xiaoyouPrince.github.io/actions/runs/7343823911/job/19994888730

i just found the theme author has knows the issue, as
cotes2020/jekyll-theme-chirpy#1428

Any failure during bundle install is basically never the fault of this action.

Thanks for answering, it is not the action's fault, is something else.