From ce820e1aaf7e57c6a6af6e2ae307691fc70cb16d Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Tue, 19 Nov 2024 02:00:49 -0800 Subject: [PATCH] add examples-path input to build_pico_sdk.yaml --- .github/workflows/build_pico_sdk.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_pico_sdk.yaml b/.github/workflows/build_pico_sdk.yaml index 10a7a22..2355322 100644 --- a/.github/workflows/build_pico_sdk.yaml +++ b/.github/workflows/build_pico_sdk.yaml @@ -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: @@ -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