File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -73,4 +73,15 @@ the necessary modules for a West based [Zephyr workspace application][1].
7373 manifest-file-name : custom_west.yml
7474` ` `
7575
76+ ## Skip installing OS level dependencies and Zephyr SDK
77+
78+ ` ` ` yaml
79+ - name : Setup Zephyr project
80+ uses : zephyrproject-rtos/action-zephyr-setup@v1
81+ with :
82+ app-path : example-application
83+ toolchains : arm-zephyr-eabi
84+ skip-dependencies : true
85+ ` ` `
86+
7687[1]: https://docs.zephyrproject.org/latest/develop/application/index.html#zephyr-workspace-app
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ runs:
162162 path : ${{ inputs.base-path }}/zephyr-sdk
163163 key : ${{ env.SDK_FILE }}-${{ inputs.toolchains }}
164164
165- - if : ${{ steps.cache-toolchain.outputs.cache-hit != 'true' }}
165+ - if : ${{ steps.cache-toolchain.outputs.cache-hit != 'true' && inputs.skip-dependencies != 'true' }}
166166 working-directory : ${{ inputs.base-path }}
167167 name : Download Zephyr SDK
168168 shell : bash
You can’t perform that action at this time.
0 commit comments