Skip to content

bundler-cache: true triggers Node.js 20 deprecation warning from internal actions/cache@v4 #899

@yuki9431

Description

@yuki9431

Description

When using ruby/setup-ruby@v1 with bundler-cache: true, the following warning appears in GitHub Actions logs:

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4.

Details

  • package.json already specifies @actions/cache: ^5.0.3
  • However, the CI log shows Download action repository 'actions/cache@v4' being fetched
  • This warning appears for all workflows using bundler-cache: true

Expected behavior

No Node.js 20 deprecation warning related to actions/cache when using bundler-cache: true.

Possible fix

Since package.json already specifies @actions/cache@^5.0.3, rebuilding dist/index.js may resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions