Skip to content

Commit

Permalink
action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiguan committed Sep 11, 2019
1 parent ba7f10e commit 6113884
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
LABEL "version"="1.0.2"
LABEL "version"="1.0.3"

ADD entrypoint.js package.json package-lock.json /
RUN npm ci
Expand Down
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ author: 'chf007 <[email protected]>'
branding:
icon: 'message-circle'
color: 'red'

inputs:
msgtype:
description: '消息类型'
required: true

runs:
using: 'docker'
image: 'Dockerfile'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 6113884

Please sign in to comment.