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

Migrated actions/download-artifact and actions/upload-artifact from v3 to v4. #235

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

rajdchak
Copy link
Contributor

@rajdchak rajdchak commented Sep 18, 2024

Description

Migrated actions/download-artifact and actions/upload-artifact from v3 to v4.

  1. In v3, artifacts are mutable so it's possible to write workflow scenarios where multiple jobs upload to the same artifact. In v4, artifacts are immutable (unless deleted). So each of the uploaded artifacts must have a different name. Added mitigation for the same in this PR.

  2. Added a new job in wheels.yml to merge all the wheels generated by the jobs.

Additional context

https://github.com/actions/download-artifact/blob/main/docs/MIGRATION.md

  • [NA] I have updated the CHANGELOG or README if appropriate

Related items

#209

Testing

Ran all unit and integration tests. Also generated wheels and checked https://github.com/awslabs/s3-connector-for-pytorch/actions/runs/10923188484.


By submitting this pull request, I confirm that my contribution is made under the terms of BSD 3-Clause License and I agree to the terms of the LICENSE.

@rajdchak rajdchak merged commit 9809622 into main Sep 18, 2024
80 checks passed
@rajdchak rajdchak deleted the workflow/githubactionsversionbump branch September 18, 2024 16:19
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