Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@actions/cache needs to be updated #1037

Open
2 of 5 tasks
aalvrz opened this issue Feb 18, 2025 · 0 comments
Open
2 of 5 tasks

@actions/cache needs to be updated #1037

aalvrz opened this issue Feb 18, 2025 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@aalvrz
Copy link

aalvrz commented Feb 18, 2025

Description:

Builds that use caching from actions/setup-python are failing because the current caching is no longer supported (See https://github.com/actions/toolkit/tree/main/packages/cache#%EF%B8%8F-important-changes):

Error: This request has been automatically failed because it uses a deprecated version of `actions/cache: v4.0.2`. Please update your workflow to use v3/v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down

Action version:
v5

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.10

Repro steps:
Add the following step to a Github Actions workflow:

- name: Setup Python
  uses: actions/setup-python@v5
  with:
    python-version: "3.10"
    cache: 'pip'

Expected behavior:
setup-python action to succeed.

Actual behavior:

Error: This request has been automatically failed because it uses a deprecated version of `actions/cache: v4.0.2`. Please update your workflow to use v3/v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
@aalvrz aalvrz added bug Something isn't working needs triage labels Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant