Skip to content

Commit

Permalink
add examples-path input to build_pico_sdk.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 authored Nov 19, 2024
1 parent 353bb59 commit ce820e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build_pico_sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ on:
type: string
default: master
description: git ref of the RF24Mesh lib dependency
examples-path:
required: false
type: string
default: examples_pico
description: The path to the Pico SDK examples. Defaults to `examples_pico`.


jobs:
Expand Down Expand Up @@ -90,7 +95,7 @@ jobs:
working-directory: ${{ github.workspace }}/${{ steps.lib-info.outputs.name }}/build
env:
PICO_SDK_PATH: ${{ github.workspace }}/pico-sdk
run: cmake ../examples_pico -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DPICO_BOARD=${{ inputs.board-id }}
run: cmake ../${{ inputs.examples-path }} -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DPICO_BOARD=${{ inputs.board-id }}

- name: Build
working-directory: ${{ github.workspace }}/${{ steps.lib-info.outputs.name }}/build
Expand Down

0 comments on commit ce820e1

Please sign in to comment.