Added name without spaces.
This commit is contained in:
@@ -6,9 +6,12 @@ inputs:
|
||||
required: true
|
||||
default: "."
|
||||
outputs:
|
||||
productName:
|
||||
name:
|
||||
description: "Unity product name."
|
||||
value: ${{ steps.getProductName.outputs.productName }}
|
||||
nameShort:
|
||||
description: "Unity product name without spaces."
|
||||
value: ${{ steps.getProductName.outputs.productNameShort }}
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
@@ -21,5 +24,7 @@ runs:
|
||||
|
||||
PRODUCT=$(grep -w $PRODUCT_KEY $PRODUCT_FILE_PATH | cut -d ':' -f2 | xargs)
|
||||
|
||||
echo "productName=$PRODUCT" >> "$GITHUB_OUTPUT"
|
||||
echo "name=$PRODUCT" >> "$GITHUB_OUTPUT"
|
||||
PRODUCT_SHORT=$(echo "$PRODUCT" | tr -d ' ')
|
||||
echo "nameShort=$PRODUCT_SHORT" >> "$GITHUB_OUTPUT"
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user