summaryrefslogtreecommitdiff
path: root/.github/actions/west/action.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/actions/west/action.yml')
-rw-r--r--.github/actions/west/action.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/actions/west/action.yml b/.github/actions/west/action.yml
new file mode 100644
index 0000000..2498f74
--- /dev/null
+++ b/.github/actions/west/action.yml
@@ -0,0 +1,16 @@
+name: "Zephyr West"
+description: 'Action incorporating Zephyr dependencies and West build tool'
+inputs:
+ command: # id of input
+ description: 'Which west command to execute'
+ required: true
+ default: 'build'
+ command-args: # id of input
+ description: 'Extra arguments for the west command'
+ required: false
+runs:
+ using: 'docker'
+ image: 'Dockerfile'
+ args:
+ - ${{ inputs.command }}
+ - ${{ inputs.command-args }}