Closed makubacki closed 1 year ago
Intermediate build files are sometimes left in build directories during CodeQL execution. This is particularly more prevalent in module directories that contain Rust files. These files have very long names, for example:
D:\a\mu_tiano_platforms\Build\QemuQ35Pkg \DEBUG_VS2022\X64\MsCorePkg\HelloWorldRustDxe\HelloWorldRustDxe \DEBUG\x86_64-unknown-uefi\debug\incremental \rust_boot_services_allocator_dxe-2f5m6unckl0t8 \s-gorl2pbwn9-18oh534-e4zntah436u40i7hceav0825j
CodeQL actions have well known and unresolved issues with long paths when they're scanning directories for files.
The directories where these files may be left are not needed after build and it takes about 3 seconds to remove them so that is done in this change.
Tested on fork. Example: https://github.com/makubacki/mu_tiano_platforms/actions/runs/6204825673
Intermediate build files are sometimes left in build directories during CodeQL execution. This is particularly more prevalent in module directories that contain Rust files. These files have very long names, for example:
CodeQL actions have well known and unresolved issues with long paths when they're scanning directories for files.
The directories where these files may be left are not needed after build and it takes about 3 seconds to remove them so that is done in this change.
Tested on fork. Example: https://github.com/makubacki/mu_tiano_platforms/actions/runs/6204825673