action.yml

This commit is contained in:
andreiguan 2019-09-11 21:36:49 +08:00
parent ba7f10ea31
commit 61138841ff
3 changed files with 11 additions and 2 deletions

View File

@ -8,7 +8,7 @@ LABEL "com.github.actions.color"="red"
LABEL "repository"="https://github.com/chf007/action-wechat-work" LABEL "repository"="https://github.com/chf007/action-wechat-work"
LABEL "homepage"="https://github.com/chf007/action-wechat-work" LABEL "homepage"="https://github.com/chf007/action-wechat-work"
LABEL "maintainer"="chf007 <chf007server@gmail.com>" LABEL "maintainer"="chf007 <chf007server@gmail.com>"
LABEL "version"="1.0.2" LABEL "version"="1.0.3"
ADD entrypoint.js package.json package-lock.json / ADD entrypoint.js package.json package-lock.json /
RUN npm ci RUN npm ci

View File

@ -5,3 +5,12 @@ author: 'chf007 <chf007server@gmail.com>'
branding: branding:
icon: 'message-circle' icon: 'message-circle'
color: 'red' color: 'red'
inputs:
msgtype:
description: '消息类型'
required: true
runs:
using: 'docker'
image: 'Dockerfile'

View File

@ -1,6 +1,6 @@
{ {
"name": "action-wechat-work", "name": "action-wechat-work",
"version": "1.0.2", "version": "1.0.3",
"description": "GitHub Action that sends a WeChat Work notification.", "description": "GitHub Action that sends a WeChat Work notification.",
"private": true, "private": true,
"scripts": { "scripts": {