From 61138841ff1b0023cac8c7748b6d94a2a2adeadf Mon Sep 17 00:00:00 2001 From: andreiguan Date: Wed, 11 Sep 2019 21:36:49 +0800 Subject: [PATCH] action.yml --- Dockerfile | 2 +- action.yml | 9 +++++++++ package.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b201cc..31b4df3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ LABEL "com.github.actions.color"="red" LABEL "repository"="https://github.com/chf007/action-wechat-work" LABEL "homepage"="https://github.com/chf007/action-wechat-work" LABEL "maintainer"="chf007 " -LABEL "version"="1.0.2" +LABEL "version"="1.0.3" ADD entrypoint.js package.json package-lock.json / RUN npm ci diff --git a/action.yml b/action.yml index e7a03ef..4f68a0f 100644 --- a/action.yml +++ b/action.yml @@ -5,3 +5,12 @@ author: 'chf007 ' branding: icon: 'message-circle' color: 'red' + +inputs: + msgtype: + description: '消息类型' + required: true + +runs: + using: 'docker' + image: 'Dockerfile' diff --git a/package.json b/package.json index 2bfd52f..bd580e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "action-wechat-work", - "version": "1.0.2", + "version": "1.0.3", "description": "GitHub Action that sends a WeChat Work notification.", "private": true, "scripts": {