Add parallel to speed up workflow execution#20490
Conversation
| @@ -0,0 +1,4 @@ | |||
| paths: | |||
There was a problem hiding this comment.
what is actionlint? what is triggering the error?
There was a problem hiding this comment.
The error message is here:
https://github.com/wmhn1872265132/NVDA/actions/runs/29216919863
There was a problem hiding this comment.
I suggest we wait until rhysd/actionlint#694 is merged and update actionlint instead.
|
will this also fix a bug where sometimes workflos fale and time out for no reason? i.e last time when I made a change and pushed to my personal branch and waited to get the build artifakt, the workflo faled 2 times and didn't upload anything, I had to rerun jobs 2 times to finally get my build artifakt. This timeout happens randomly even if there are no errors and everything is perfectly fine. Github actions builds has became a serious pick for me, because I can have the possibility to build and test changes without needing to do everything locally. It's a best thing in existence! |
No, this is just a small tweak to speed up the build. |
Link to issue number:
None
Summary of the issue:
Currently, all steps in each job of the GitHub Actions build workflow run sequentially. An unsigned build on the master branch takes approximately 24 minutes.
Description of user facing changes:
None
Description of developer facing changes:
Speed up the GitHub Actions workflow. Unsigned builds now take approximately 21 minutes, and the performance improvement for signed builds is likely to be even more noticeable.
Description of development approach:
According to the GitHub documentation, certain steps have been configured to run in parallel, such as:
In addition, since actionlint reports errors for this syntax, an ignore configuration has been added.
Testing strategy:
https://github.com/wmhn1872265132/NVDA/actions/runs/29223610846
Known issues with pull request:
None
Code Review Checklist: