github action problem1
今天,在运行使用github action时遇到一下报错,其实就是使用的action package过期了。
This request has been automatically failed because it uses a deprecated version of actions/cache: v2. 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
解决方法也很简单就更新一下版本就好了,将workflows目录下使用v2 版本package的action全部改成v3或者v4就可以了
像下面这样的地方的v4就是从v2改过来的:
github action problem1