feat: support prepend text to variable names

This commit is contained in:
Romain Lespinasse
2021-12-08 21:24:03 +01:00
parent c12f1d6d88
commit e0e1ac60ae
4 changed files with 61 additions and 8 deletions

View File

@@ -8,6 +8,10 @@ inputs:
value:
description: "Value to slugify"
required: false
prefix:
description: "Value to prepend to each generated variable"
default: ""
required: false
branding:
icon: "crop"
color: "gray-dark"
@@ -19,3 +23,4 @@ runs:
env:
INPUT_KEY: ${{ inputs.key }}
INPUT_VALUE: ${{ inputs.value }}
INPUT_PREFIX: ${{ inputs.prefix }}