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