aboutsummaryrefslogtreecommitdiff
path: root/.github/devcontainers-action/action.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/devcontainers-action/action.yml')
-rw-r--r--.github/devcontainers-action/action.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/devcontainers-action/action.yml b/.github/devcontainers-action/action.yml
new file mode 100644
index 0000000..52b842f
--- /dev/null
+++ b/.github/devcontainers-action/action.yml
@@ -0,0 +1,32 @@
+name: 'Dev Container'
+description: 'Publish custom development container feature(s) and/or templates(s)'
+author: 'GitHub'
+branding:
+ icon: box
+ color: blue
+inputs:
+ # Global options
+ publish-features:
+ required: false
+ default: "false"
+ description: "['true'/'false'] Publish dev container 'feature' artifacts"
+ publish-templates:
+ required: false
+ default: "false"
+ description: "['true'/'false'] Publish dev container 'template' artifacts"
+
+ # 'features' options
+ base-path-to-features:
+ required: false
+ default: './features/src'
+ description: "Relative path to the 'src' folder containing dev container 'feature(s)'"
+
+ # 'template' options
+ base-path-to-templates:
+ required: false
+ default: './templates/src'
+ description: "Relative path to the folder containing dev container 'template(s)'"
+
+runs:
+ using: 'node12'
+ main: 'dist/index.js'