This commit is contained in:
2025-06-29 00:34:32 -07:00
parent 18c6e9f59d
commit e91f47b64b
2 changed files with 8 additions and 3 deletions

View File

@@ -43,6 +43,13 @@ inputs:
runs:
using: "composite"
steps:
- name: "Print Inputs"
run: |
NAME="Unity Command"
echo "::group::$NAME - Inputs"
echo "${{ toJSON(inputs) }}"
echo "::endgroup::"
shell: bash
- name: "Get Unity container name."
id: getContainer
uses: act/unity/unity-get-container@master
@@ -77,7 +84,6 @@ runs:
- name: "Run Unity command."
uses: act/unity/unity@master
env:
UNITY_CONTAINER: ${{ steps.getContainer.outputs.container }}
SSH_PUBLIC_KEY: ${{ inputs.sshPublicKey }}
SSH_PRIVATE_KEY: ${{ inputs.sshPrivateKey }}
CATCH_ERRORS: ${{ inputs.catchErrors }}

View File

@@ -20,8 +20,7 @@ inputs:
runs:
using: docker
#This is a base "mock" image which is replaced by the correct image in the "unity-command" action at runtime.
#image: docker://unityci/base:latest
image: docker://${{ env.UNITY_CONTAINER }}
image: docker://unityci/base:latest
args:
- ${{ inputs.serial }}
- ${{ inputs.email }}