feat: Add JavaScript action template

https://github.com/actions/javascript-action
This commit is contained in:
peaceiris
2019-09-15 16:52:29 +09:00
parent 2905a7fc5b
commit 8ffc478ba7
9 changed files with 5537 additions and 5 deletions

View File

@@ -1,9 +1,14 @@
name: 'Hugo build action'
description: 'GitHub Actions for Hugo extended and Hugo Modules'
author: 'peaceiris'
inputs:
milliseconds: # id of input
description: 'number of milliseconds to wait'
required: true
default: '1000'
outputs:
time: # output will be available to future steps
description: 'The message to output'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'package'
color: 'yellow'
using: 'node12'
main: 'index.js'