Skip to content
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

CI: Update compile-platform-examples.yml #324

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

LinjingZhang
Copy link
Collaborator

@LinjingZhang LinjingZhang commented Feb 10, 2025

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

CONTRIBUTING.md also tells you what to expect in the PR process.

Description
Compilation test is not running due to deprecation of upload-artifact.

Related Issue
actions/upload-artifact#478
It seems that upload-artifacts v4 does not allow all outputs in the build matrix to be uploaded to one folder.
So now artifact is uploaded under different board names.

Context

@LinjingZhang LinjingZhang force-pushed the fix-upload-artifact-v3-deprecated branch from c72ea2a to 9cec094 Compare February 10, 2025 13:36
@@ -194,9 +194,14 @@ jobs:
enable-deltas-report: false
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

- name: Modify the environment variable
Copy link
Member

Choose a reason for hiding this comment

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

Is this step required? Can you just not use ${{ matrix.board.fqbn }} already in the naming of line 206?

Copy link
Collaborator Author

@LinjingZhang LinjingZhang Feb 12, 2025

Choose a reason for hiding this comment

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

Unfortunately, colons are not allowed in names, so I had to add this step.

Copy link
Member

Choose a reason for hiding this comment

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

All good, anyhow, this action is not currently used in the arduino-core-tests. And might not be used.
Still, we are using this action for uploading things in other places. So good to know they have change this behaviour.

@LinjingZhang LinjingZhang merged commit 334c12a into master Feb 12, 2025
24 checks passed
@LinjingZhang LinjingZhang deleted the fix-upload-artifact-v3-deprecated branch February 12, 2025 11:01
# 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