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

Use v4 of the upload-artifact action #344

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Use v4 of the upload-artifact action #344

merged 3 commits into from
Jan 17, 2025

Conversation

billsacks
Copy link
Member

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.

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.
@billsacks billsacks requested a review from danrosen25 January 16, 2025 19:52
Copy link
Member

@danrosen25 danrosen25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@danrosen25 danrosen25 left a 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

@billsacks
Copy link
Member Author

Thanks @danrosen25 - I hadn't realized those were connected. I think I got them all.

billsacks added a commit to esmf-org/esmf-test-summary that referenced this pull request Jan 16, 2025
@billsacks
Copy link
Member Author

@danrosen25 I see a thumbs up reaction but I'll wait to merge until you change "changes requested" to "approved".

@danrosen25 danrosen25 self-requested a review January 17, 2025 00:51
@billsacks billsacks merged commit 78516a7 into develop Jan 17, 2025
6 checks passed
@billsacks billsacks deleted the upload_artifact_v4 branch January 17, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants