Update action files

This commit is contained in:
goaction 2021-07-17 04:55:30 +00:00
parent 20006073e3
commit 14cd925fb2
2 changed files with 29 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
# File generated by github.com/posener/goaction. DO NOT EDIT.
FROM golang:1.14.2-alpine3.11
RUN apk add git
COPY . /home/src
WORKDIR /home/src
RUN go build -o /bin/action ./
ENTRYPOINT [ "/bin/action" ]

18
action.yml Normal file
View File

@ -0,0 +1,18 @@
# File generated by github.com/posener/goaction. DO NOT EDIT.
name: goaction-example
inputs:
input:
default: .
description: "Input Directory"
required: false
output:
default: .
description: "Output Directory"
required: false
runs:
using: docker
image: Dockerfile
args:
- "-input=${{ inputs.input }}"
- "-output=${{ inputs.output }}"