From 56d48cbb84a7b4f33a8a7c55d9a4c59a63ef19d2 Mon Sep 17 00:00:00 2001 From: Cameron Beneteau Date: Mon, 2 Dec 2024 02:07:09 -0500 Subject: [PATCH] Create reusable workflow --- .github/workflows/test-project-name.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-project-name.yml b/.github/workflows/test-project-name.yml index 49141f418..f5bf2ed55 100644 --- a/.github/workflows/test-project-name.yml +++ b/.github/workflows/test-project-name.yml @@ -4,14 +4,15 @@ on: push: jobs: - setup-project: + build-project: + strategy: + matrix: + project: ["Demo/Blink", "Demo/Blink"] + platform: ["cli", "stm32f767"] runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v4 - - build-project: - uses: ./.github/workflows/reusable-build-project.yml - with: - project: "Demo/Blink" - platform: "cli" \ No newline at end of file + - name: Invoke Reusable Workflow + uses: ./.github/workflows/reusable-build-project.yml + with: + project: ${{ matrix.project }} + platform: ${{ matrix.platform }}