Repo File Sync: Support CodeQL Plugin in BaseTools (#831)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#7629520553](https://github.com/microsoft/mu_devops/actions/runs/7629520553) Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
This commit is contained in:
Родитель
32541aed5f
Коммит
e7cf788fcd
|
@ -324,7 +324,9 @@ jobs:
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
# Find the plugin directory that contains the CodeQL plugin
|
# Find the plugin directory that contains the CodeQL plugin
|
||||||
plugin_dir = list(Path(os.environ['GITHUB_WORKSPACE']).rglob('.pytool/Plugin/CodeQL'))
|
plugin_dir = list(Path(os.environ['GITHUB_WORKSPACE']).rglob('BaseTools/Plugin/CodeQL'))
|
||||||
|
if not plugin_dir:
|
||||||
|
plugin_dir = list(Path(os.environ['GITHUB_WORKSPACE']).rglob('.pytool/Plugin/CodeQL'))
|
||||||
|
|
||||||
# This should only be found once
|
# This should only be found once
|
||||||
if len(plugin_dir) == 1:
|
if len(plugin_dir) == 1:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче