The underlying actions artifact API has been upgraded to v4.
GitHub is deprecating existing v1, v2, and v3 upload actions. https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ explains more.
[Deprecation notice: v1, v2, and v3 of the artifact actions]
...
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/