This commit is contained in:
2023-08-05 23:45:12 -07:00
parent ce6e660acd
commit 119261980b
2 changed files with 1 additions and 4 deletions

View File

@@ -63,10 +63,9 @@ runs:
run: |
COMMAND="${{ inputs.command }}"
NO_GRAPHICS="${{ inputs.noGraphics }}"
echo "NO GRAPHICS: ${{ inputs.noGraphics }}"
if [[ "$NO_GRAPHICS" == "true" ]]; then
COMMAND="-nographics $COMMAND"
echo COMMAND IS "$COMMAND"
fi
echo "command=$COMMAND" >> "$GITHUB_OUTPUT"
- name: "Run Unity command."

View File

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