From 9a14b79362f2b53e68bbbaa87105cc4439d895b5 Mon Sep 17 00:00:00 2001 From: Monte Hellawell Date: Sat, 20 Jun 2020 19:13:38 +0100 Subject: [PATCH] Update action information --- Dockerfile | 9 --------- action.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 action.yml diff --git a/Dockerfile b/Dockerfile index 2fbd8a7..5de9073 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,3 @@ FROM alpine:3.10.1 -LABEL "com.github.actions.name"="Create Zip File" -LABEL "com.github.actions.description"="Create a zip file containing specific files from your repository" -LABEL "com.github.actions.icon"="folder-plus" -LABEL "com.github.actions.color"="gray-dark" - -LABEL "repository"="https://github.com/montudor/action-zip" -LABEL "homepage"="https://github.com/montudor/action-zip" -LABEL "maintainer"="Monte Hellawell " - RUN apk add zip diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..88777c8 --- /dev/null +++ b/action.yml @@ -0,0 +1,15 @@ +name: Create Zip File +author: Monte Hellawell +description: Create a zip file containing specific files from your repository +inputs: + args: + description: zip or unzip, followed by the relevant options + required: true +runs: + using: 'docker' + image: 'Dockerfile' + args: + - ${{ inputs.args }} +branding: + icon: 'folder-plus' + color: 'gray-dark'