-
Notifications
You must be signed in to change notification settings - Fork 31
Update to actions/upload-artifact@v4 #538
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
Conversation
Fixes this warning in the GitHub CI annotations: The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
This should be kept up to date by dependabot. Why didn't we get a pr ? 🤔 |
Good point. I just searched the PRs and found: Missing reasoning why the PR was closed. |
The actions/upload-artifact@v4 action had a breaking change. We had to skip the update in several repositories because some workflows couldn't handle the change. Also, it is/was incompatible with our custom actions. I might have skipped it as a precaution here. We still need to migrate to v4 properly. If v4 is working correctly in this repo, please feel free to go ahead. |
@reakaleek Thanks for the details.
To decide if updating v3 to v4 is working correctly, we need to know who the consumer of [UPDATE] Just found this
|
Ah, thank you for the context. The only consumer of the junit report is https://github.com/elastic/apm-aws-lambda/actions/workflows/test-reporter.yml, but it's disabled because it's broken for another reason, which we haven't been able to solve yet. I think this workflow was actually the reason why we did not upgrade to v4. In some repositories, we dismissed the test reporter workflow entirely. Hence, you can upgrade to v4. |
@kruskall Do you mind to approve? |
Fixes this warning in the GitHub CI annotations:
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3.
For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/