Skip to content

Commit

Permalink
Create reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronBeneteau committed Dec 2, 2024
1 parent 104c730 commit 56d48cb
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/test-project-name.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
- name: Invoke Reusable Workflow
uses: ./.github/workflows/reusable-build-project.yml
with:
project: ${{ matrix.project }}
platform: ${{ matrix.platform }}

0 comments on commit 56d48cb

Please sign in to comment.