From 8150a90db09c9f78d707b75354947ee404f25206 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Fri, 20 Sep 2024 02:16:45 +0300 Subject: [PATCH] feat(actions): Make it easier to override input arguments from workflows --- action.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 4d8af0b..8ef8aba 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,10 @@ name: Fontship description: A font development toolkit and collaborative work flow +inputs: + args: + description: Arguments passed to CLI; defaults to ‘make’. + required: false + default: make outputs: family-names: description: Font Family Names @@ -12,9 +17,7 @@ outputs: runs: using: docker image: docker://ghcr.io/theleagueof/fontship:v0.9.5 - args: - - make - - dist + args: ${{ inputs.args }} branding: icon: truck color: green