summaryrefslogtreecommitdiff
path: root/.github/actions/west/action.yml
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-08 11:28:52 -0400
committerPete Johanson <peter@peterjohanson.com>2020-06-08 11:28:52 -0400
commit41115274e189bcbad244a7ee9e91a99da398a18f (patch)
treecd2e44353c42ea6ad7df59bd291526c795598d9d /.github/actions/west/action.yml
parentc1cc46c3b2019a3ea268fe411229ba631d76d876 (diff)
Initial exploration of GH actions.
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 }}