-
Notifications
You must be signed in to change notification settings - Fork 79
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
Use v4 of the upload-artifact action #344
Conversation
The v3 upload-artifact action is deprecated and will be removed in the future. This PR updates the action to use v4. Note possibly breaking changes given in https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md. I haven't reviewed these carefully, but at a glance I don't see use of these patterns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change actions/checkout@v3
to actions/checkout@v4
as well? and actions/cache@v3
to actions/cache@v4
- workflows/build-esmf-docs.yml: uses: actions/checkout@v3
- workflows/build-esmf-docs.yml: uses: actions/upload-artifact@v3
- workflows/build-esmf-docs.yml: uses: actions/checkout@v3
- workflows/build-esmpy-docs.yml: uses: actions/checkout@v3
- workflows/build-esmpy-docs.yml: uses: actions/upload-artifact@v3
- workflows/build-esmpy-docs.yml: uses: actions/checkout@v3
- workflows/test-coverage.yml: uses: actions/checkout@v3
- workflows/test-coverage.yml: uses: actions/upload-artifact@v3
- workflows/api-change.yml: uses: actions/checkout@v3
- workflows/api-change.yml: uses: actions/upload-artifact@v3
- workflows/test-build-spack.yml: uses: actions/checkout@v3
- workflows/test-build-spack.yml: uses: actions/cache@v3
- workflows/test-build-spack.yml: uses: actions/checkout@v3
- workflows/test-build-spack.yml: uses: actions/upload-artifact@v3
Suggested by Dan Rosen
Suggested by Dan Rosen
Thanks @danrosen25 - I hadn't realized those were connected. I think I got them all. |
Inspired by comment from Dan Rosen: esmf-org/esmf#344 (review)
@danrosen25 I see a thumbs up reaction but I'll wait to merge until you change "changes requested" to "approved". |
The v3 upload-artifact action is deprecated and will be removed in the future (https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/). This PR updates the action to use v4.
Note possibly breaking changes given in
https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md. I haven't reviewed these carefully, but at a glance I don't see use of these patterns. But @danrosen25 and @uturuncoglu you might have a better sense of this than I do.