From 289e560bd6ee6e5d6c660495567350f43700ec9b Mon Sep 17 00:00:00 2001 From: akefirad Date: Mon, 4 Dec 2023 22:10:22 +0100 Subject: [PATCH] GH-0 add color and icon --- action.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/action.yml b/action.yml index 1269933..7168cc7 100644 --- a/action.yml +++ b/action.yml @@ -1,38 +1,42 @@ -name: 'loadenv-action' -description: 'GitHub Action for loading environment variables' -author: 'Rad Akefirad' +name: "loadenv-action" +description: "GitHub Action for loading environment variables" +author: "Rad Akefirad" + +branding: + color: "gray-dark" + icon: "loader" inputs: files: required: true description: '.env files (default is ".env"), currently only one file is supported' - default: '.env' + default: ".env" export-vars: required: true - description: 'whether to export variables in the loaded file as environment variables' + description: "whether to export variables in the loaded file as environment variables" default: "true" expand-vars: required: true - description: 'whether to exapnd variables in the loaded file' + description: "whether to exapnd variables in the loaded file" default: "true" ignore-host-env: required: true - description: 'whether to ignore host runner environment variables while expanding variables' + description: "whether to ignore host runner environment variables while expanding variables" default: "true" additional-vars: required: true - description: 'additional variables (JSON object) to be used while expanding variables' - default: '{}' + description: "additional variables (JSON object) to be used while expanding variables" + default: "{}" strict: required: true - description: 'whether to throw an error if a variable is not found while expanding variables' + description: "whether to throw an error if a variable is not found while expanding variables" default: "true" runs: - using: 'node16' - main: 'dist/index.js' + using: "node16" + main: "dist/index.js"