From 4dc837fac71adbf14df27a9a3302f6e163ef53d6 Mon Sep 17 00:00:00 2001 From: Cameron Beneteau Date: Mon, 2 Dec 2024 02:11:03 -0500 Subject: [PATCH] Create reusable workflow --- .github/workflows/test-project-name.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-project-name.yml b/.github/workflows/test-project-name.yml index 30708b3fa..907665fc1 100644 --- a/.github/workflows/test-project-name.yml +++ b/.github/workflows/test-project-name.yml @@ -10,7 +10,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - build-project: +# build-project: +# uses: ./.github/workflows/reusable-build-project.yml +# with: +# project: "Demo/Blink" +# platform: "cli" + + build-projects: strategy: matrix: config: @@ -18,10 +24,7 @@ jobs: platform: "cli" - project: "Demo/Blink" platform: "stm32f767" - runs-on: ubuntu-latest - steps: - - name: Invoke Reusable Workflow - uses: ./.github/workflows/reusable-build-project.yml - with: - project: ${{ matrix.config.project }} - platform: ${{ matrix.config.platform }} + uses: ./.github/workflows/reusable-build-project.yml + with: + project: ${{ matrix.config.project }} + platform: ${{ matrix.config.platform }}