Skip to content

ci: update actions/upload-artifact to v4 with merge #3545

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 6 commits into from
Sep 20, 2024

Conversation

joshuarli
Copy link
Member

Supersedes #3381 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

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.49%. Comparing base (49dd64d) to head (b596bcb).
Report is 1 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3545      +/-   ##
==========================================
- Coverage   84.52%   84.49%   -0.04%     
==========================================
  Files         133      133              
  Lines       13837    13837              
  Branches     2927     2927              
==========================================
- Hits        11696    11691       -5     
- Misses       1415     1420       +5     
  Partials      726      726              

see 4 files with indirect coverage changes

@sentrivana sentrivana enabled auto-merge (squash) September 20, 2024 07:13
@sentrivana sentrivana merged commit 64e2977 into master Sep 20, 2024
124 checks passed
@sentrivana sentrivana deleted the ci-artifact-v4-with-merge branch September 20, 2024 07:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants