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

build(ci): Update actions/upload-artifact to v4 #3876

Closed
wants to merge 1 commit into from

Conversation

joshuarli
Copy link
Member

@joshuarli joshuarli commented Jul 30, 2024

Committed via https://github.com/asottile/all-repos

#skip-changelog

@joshuarli joshuarli requested a review from a team as a code owner July 30, 2024 19:48
@jjbayer jjbayer changed the title all-repos: update actions/upload-artifact to v4 build(ci): Update actions/upload-artifact to v4 Jul 31, 2024
@jjbayer jjbayer enabled auto-merge (squash) July 31, 2024 06:31
Copy link
Member Author

@joshuarli joshuarli left a comment

Choose a reason for hiding this comment

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

hmm will need to take a closer look at how these artifacts are used, i have a hunch this will break craft and release assets

currently v3 just puts everything under one zip

related #2866

@joshuarli
Copy link
Member Author

superseded by #4042

@joshuarli joshuarli closed this Sep 17, 2024
auto-merge was automatically disabled September 17, 2024 20:19

Pull request was closed

@joshuarli joshuarli deleted the all-repos_autofix_all-repos-sed branch September 17, 2024 20:19
joshuarli added a commit that referenced this pull request Sep 18, 2024
Supersedes #3876 by using
artifacts/merge to merge together multiple artifacts from different jobs
into the single one named github.sha that craft expects.

Summarily, upload-artifact v3 is deprecated but v4 doesn't support
mutating an artifact with the name name by uploading different filepaths
to the same artifact. Because we need a single artifact "github.sha", we
have to use actions/merge to create it. Alternatively craft could be
modified but this is the easiest way forward and I like the idea of a
unified artifact, it makes craft simpler.

ref: getsentry/craft#552

#skip-changelog
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