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

Update ci.yml to use upload-artifact@v4 for better build time #4170

Closed
wants to merge 2 commits into from
Closed

Conversation

nicheexpress
Copy link

upload-artifact@v4 is 10x faster (according to GitHub), It has significantly reduced build time

https://github.blog/2024-02-12-get-started-with-v4-of-github-actions-artifacts/

Copy link
Member

@peternied peternied left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution, without being paired with the download artifact of the same version this will cause failures. Please look into a previous pull request [1] that updated this into main.

I recommend creating new pull request following the backport workflow [2] to get this functionality into this 1.3 branch.

@nicheexpress
Copy link
Author

Thanks @peternied, I believe that download-artifact does not exists in 1.3 it was introduced later on

Signed-off-by: smooth sail <[email protected]>
@peternied
Copy link
Member

It was added later, in this repository we use backporting workflows [1] to move code from the main branch out to current major versions and minor versions. If you'd like to get this change into this branch I'd recommend following that process.

Note; since this branch is maintained for security updates. We've got a high barrier to entry for changes to it - I'm on the fence if your proposed change meets that bar. If you are looking to make improvements with more impact, I would suggest looking at the main branch.

@nicheexpress nicheexpress marked this pull request as draft March 28, 2024 07:29
@nicheexpress
Copy link
Author

Thanks @peternied I've learned something new :)
I've opened a new PR by following the guide above

@peternied peternied closed this Mar 28, 2024
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