test
This commit is contained in:
@@ -10,8 +10,8 @@ RUN chmod +x /entrypoint.sh
|
|||||||
COPY install-dotnet.sh /
|
COPY install-dotnet.sh /
|
||||||
RUN bash /install-dotnet.sh
|
RUN bash /install-dotnet.sh
|
||||||
|
|
||||||
COPY UnityBuilder /usr/bin/
|
COPY UnityBuilder /usr/local/bin/
|
||||||
RUN chmod +x /usr/bin/UnityBuilder
|
RUN chmod +x /usr/local/bin/UnityBuilder
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
USER unity
|
USER unity
|
||||||
@@ -27,7 +27,7 @@ fi
|
|||||||
if [[ "$SERIAL" == "public" ]]; then
|
if [[ "$SERIAL" == "public" ]]; then
|
||||||
unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD
|
unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD
|
||||||
else
|
else
|
||||||
/usr/bin/UnityBuilder -i unity-editor -u $EMAIL -p $PASSWORD
|
UnityBuilder -i unity-editor -u $EMAIL -p $PASSWORD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Run the command.
|
#Run the command.
|
||||||
|
|||||||
@@ -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.
|
#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://unityci/base:latest
|
||||||
args:
|
args:
|
||||||
|
- /entrypoint.sh
|
||||||
- ${{ inputs.serial }}
|
- ${{ inputs.serial }}
|
||||||
- ${{ inputs.email }}
|
- ${{ inputs.email }}
|
||||||
- ${{ inputs.password }}
|
- ${{ inputs.password }}
|
||||||
|
|||||||
Reference in New Issue
Block a user