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 82cd6ae commit 4dc837f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/test-project-name.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ 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:
- project: "Demo/Blink"
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 }}

0 comments on commit 4dc837f

Please sign in to comment.