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 id: command
run: | run: |
COMMAND="${{ inputs.command }}" COMMAND="${{ inputs.command }}"
if [[ "{{ inputs.noGraphics }}" == "false" ]]; then echo "NO GRAPHICS: ${{ inputs.noGraphics }}"
if [[ "{{ inputs.noGraphics }}" == "true" ]]; then
COMMAND="-nographics $COMMAND" COMMAND="-nographics $COMMAND"
fi fi
echo "command=$COMMAND" >> "$GITHUB_OUTPUT" echo "command=$COMMAND" >> "$GITHUB_OUTPUT"

View File

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