Skip to content

Update artifact-related actions #2679

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

Merged
merged 9 commits into from
Jul 31, 2024

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Jul 30, 2024

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

Updates the artifacts-related actions to the latest version:

Here the migration guide > https://github.com/actions/download-artifact/blob/main/docs/MIGRATION.md

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change, and is titled accordingly?

Other information

If the testing is successful, I will update the tooling asset repo too.

cmaglie added 7 commits July 30, 2024 20:52
In this case we should be fine since there is just one job that uploads
the artifacts.
In this case the uploaded artifacts uses different paths and names,
there should be no breaking changes.
In this case the jobs exploited the previous action behaviour when
uploading multiple artifacts under the same "name".
To upgrade to v4 we need to upload artifacts with unique "name" and
merge them when downloading using the "pattern" property.
This job got the same changes made in the publish-go-nightly job.
@cmaglie cmaglie added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Jul 30, 2024
@cmaglie cmaglie self-assigned this Jul 30, 2024
Copy link

codecov bot commented Jul 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.23%. Comparing base (b8c927b) to head (571a33a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2679   +/-   ##
=======================================
  Coverage   70.22%   70.23%           
=======================================
  Files         222      222           
  Lines       21348    21348           
=======================================
+ Hits        14992    14993    +1     
+ Misses       5177     5176    -1     
  Partials     1179     1179           
Flag Coverage Δ
unit 70.23% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cmaglie cmaglie marked this pull request as ready for review July 30, 2024 21:47
Copy link
Contributor

@MatteoPologruto MatteoPologruto left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@umbynos umbynos left a comment

Choose a reason for hiding this comment

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

Thanks Cris 💯

@cmaglie cmaglie merged commit cbec871 into arduino:master Jul 31, 2024
93 checks passed
@cmaglie cmaglie deleted the update_artifact_actions branch July 31, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants