simbit18 opened a new pull request, #12746: URL: https://github.com/apache/nuttx/pull/12746
## Summary Starting November 30, 2024, GitHub Actions customers will no longer be able to use v3 of actions/upload-artifact or actions/download-artifact. https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ **Breaking Changes** Due to how Artifacts are created in this new version, it is no longer possible to upload to the same named Artifact multiple times. https://github.com/actions/upload-artifact?tab=readme-ov-file#breaking-changes Currently in our workflow each type of runner processing work (Linux, Mac and Windows) in the artifacts generates a single file with all jobs. Starting in November 30, 2024 this will no longer be possible!!! **Solution present in this PR** modified https://github.com/apache/nuttx/blob/17aec1328a6c993d4cb8009fb2ac1893103ba936/.github/workflows/build.yml#L171C18-L171C27 **name: linux-builds -> name: linux-${{matrix.boards}}-builds** So, in the artifacts produced at runtime, instead of having one linux-builds file, we will have x files as many as jobs. linux example: linux-arm-01-builds linux-arm-02-builds etc. Of course, the same is true for mac and msys2. **This PR removes the following warning annotations:** The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ ## Impact **Improvements** Uploads are significantly faster, upwards of 90% improvement in worst case scenarios. ## Testing CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
