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

Node.js warnings in CI for cache@v2 and checkout@v2 #417

Closed
edwardhartnett opened this issue May 30, 2023 · 1 comment · Fixed by #416
Closed

Node.js warnings in CI for cache@v2 and checkout@v2 #417

edwardhartnett opened this issue May 30, 2023 · 1 comment · Fixed by #416
Assignees
Labels
test Testing is important!

Comments

@edwardhartnett
Copy link
Contributor

For some time we have been getting warnings like this in our CI system:

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/cache@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Well I finally figured out that it wants us to update from using "cache@v2" to using "cache@v3". For example, in the developer.yml file for g2c we have:

    - name: cache-jasper
      id: cache-jasper
      uses: actions/cache@v2

We need to change this to:

    - name: cache-jasper
      id: cache-jasper
      uses: actions/cache@v3

We need to do this for cache@v2, checkout@v2, and upload-artifact@v2.

@AlexanderRichert-NOAA @Hang-Lei-NOAA @GeorgeGayno-NOAA @jbathegit take note...

@jbathegit
Copy link

jbathegit commented Jun 1, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testing is important!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants