This commit is contained in:
2023-03-12 18:47:55 -07:00
parent 9850bc6058
commit 23c84debae
3 changed files with 4 additions and 3 deletions

View File

@@ -10,8 +10,8 @@ RUN chmod +x /entrypoint.sh
COPY install-dotnet.sh /
RUN bash /install-dotnet.sh
COPY UnityBuilder /usr/bin/
RUN chmod +x /usr/bin/UnityBuilder
COPY UnityBuilder /usr/local/bin/
RUN chmod +x /usr/local/bin/UnityBuilder
ENTRYPOINT ["/entrypoint.sh"]
USER unity

View File

@@ -27,7 +27,7 @@ fi
if [[ "$SERIAL" == "public" ]]; then
unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD
else
/usr/bin/UnityBuilder -i unity-editor -u $EMAIL -p $PASSWORD
UnityBuilder -i unity-editor -u $EMAIL -p $PASSWORD
fi
#Run the command.

View File

@@ -19,6 +19,7 @@ runs:
#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
args:
- /entrypoint.sh
- ${{ inputs.serial }}
- ${{ inputs.email }}
- ${{ inputs.password }}