This commit is contained in:
2023-08-05 23:21:16 -07:00
parent 1bb49bb8c1
commit 46f7aa22d2
2 changed files with 4 additions and 1 deletions

View File

@@ -62,7 +62,8 @@ runs:
id: command
run: |
COMMAND="${{ inputs.command }}"
if [[ "{{ inputs.noGraphics }}" == "false" ]]; then
echo "NO GRAPHICS: ${{ inputs.noGraphics }}"
if [[ "{{ inputs.noGraphics }}" == "true" ]]; then
COMMAND="-nographics $COMMAND"
fi
echo "command=$COMMAND" >> "$GITHUB_OUTPUT"

View File

@@ -44,6 +44,8 @@ inputs:
runs:
using: "composite"
steps:
- run: |
echo "NO GRAPHICS: ${{ inputs.noGraphics }}"
- uses: act/unity/unity-composite@master
with:
platform: ${{ inputs.platform }}