From cfc49dbd1c2099003e585b7b499a72f4591f2956 Mon Sep 17 00:00:00 2001 From: Gustave Monce Date: Mon, 12 Aug 2024 08:12:20 +0200 Subject: [PATCH] CI: Use build platform to build all devices --- .github/workflows/all_platforms.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/all_platforms.yml b/.github/workflows/all_platforms.yml index a063a2e55..2d9deb6ca 100644 --- a/.github/workflows/all_platforms.yml +++ b/.github/workflows/all_platforms.yml @@ -52,7 +52,7 @@ jobs: - id: matrix run: | - echo "value=[$(find ./Platforms -maxdepth 3 -wholename "*/Device/*" -printf "\"%f\", ")]" >> $GITHUB_OUTPUT + echo "value=[$(find ./Platforms -maxdepth 1 -type d -exec test -f '{}'/PlatformBuild.py -a -f '{}'/PlatformBuildNoSb.py \; -printf "\"%f\", ")]" >> $GITHUB_OUTPUT build: strategy: @@ -60,9 +60,9 @@ jobs: target: ${{fromJSON(needs.setup.outputs.matrix)}} needs: setup - uses: woa-msmnile/msmnilePkg/.github/workflows/build_device.yml@main + uses: woa-msmnile/msmnilePkg/.github/workflows/build_platform.yml@main with: - target: ${{ matrix.target }} + platform: ${{ matrix.target }} secrets: inherit package: