Skip to content

Commit

Permalink
Update 01-Generate_Firmware.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Silabs-ThieuVu authored Oct 16, 2024
1 parent 338141d commit e308591
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/01-Generate_Firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,22 @@ jobs:
ADAPTER_SN: 440133193
CHIP: EFR32MG24BXXXF1536
steps:
- name: Trigger
run: echo "Triggered by ${{github.event_name}} event"

- name: Check Branch Input
run: |
if [ -z "${{ github.event.inputs.branch }}" ]; then
echo "Branch input is required."
exit 1
fi
echo "Checkout branch ${{ github.event.inputs.branch }}"
- name: Checkout
uses: actions/[email protected]
with:
ref: "${{ github.event.inputs.branch }}"

- name: Install Simplicity SDK
if: always()
run: |
Expand Down Expand Up @@ -179,8 +193,22 @@ jobs:
ADAPTER_SN: 440189400
CHIP: EFR32MG12
steps:
- name: Trigger
run: echo "Triggered by ${{github.event_name}} event"

- name: Check Branch Input
run: |
if [ -z "${{ github.event.inputs.branch }}" ]; then
echo "Branch input is required."
exit 1
fi
echo "Checkout branch ${{ github.event.inputs.branch }}"
- name: Checkout
uses: actions/[email protected]
with:
ref: "${{ github.event.inputs.branch }}"

- name: Install Simplicity SDK
if: always()
run: |
Expand Down

0 comments on commit e308591

Please sign in to comment.