Testing library
This commit is contained in:
@@ -23,8 +23,6 @@ EOF
|
|||||||
cat $SSH_DIR/config
|
cat $SSH_DIR/config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ln -s /Library .
|
|
||||||
|
|
||||||
#Activate Unity
|
#Activate Unity
|
||||||
if [[ "$SERIAL" == "personal" ]]; then
|
if [[ "$SERIAL" == "personal" ]]; then
|
||||||
UnityBuilder activate -i /usr/bin/unity-editor -u $EMAIL -p $PASSWORD
|
UnityBuilder activate -i /usr/bin/unity-editor -u $EMAIL -p $PASSWORD
|
||||||
@@ -34,7 +32,3 @@ fi
|
|||||||
|
|
||||||
#Run the command.
|
#Run the command.
|
||||||
unity-editor $DEFAULT_ARGS $COMMAND
|
unity-editor $DEFAULT_ARGS $COMMAND
|
||||||
|
|
||||||
while true; do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
@@ -34,6 +34,12 @@ runs:
|
|||||||
uses: act/unity/unity-get-buildtarget@master
|
uses: act/unity/unity-get-buildtarget@master
|
||||||
with:
|
with:
|
||||||
platform: ${{ inputs.platform }}
|
platform: ${{ inputs.platform }}
|
||||||
|
- name: "Library"
|
||||||
|
uses: act/common/docker/docker-cp@master
|
||||||
|
with:
|
||||||
|
volume: library
|
||||||
|
fromPath: library:/Library
|
||||||
|
toPath: Library
|
||||||
- name: "Run Unity command."
|
- name: "Run Unity command."
|
||||||
uses: act/unity/unity-command@master
|
uses: act/unity/unity-command@master
|
||||||
with:
|
with:
|
||||||
@@ -43,3 +49,8 @@ runs:
|
|||||||
email: ${{ inputs.email }}
|
email: ${{ inputs.email }}
|
||||||
password: ${{ inputs.password }}
|
password: ${{ inputs.password }}
|
||||||
command: -projectPath ${{ inputs.projectPath }} -buildTarget ${{ steps.getTarget.outputs.buildTarget }} ${{ inputs.command }}
|
command: -projectPath ${{ inputs.projectPath }} -buildTarget ${{ steps.getTarget.outputs.buildTarget }} ${{ inputs.command }}
|
||||||
|
- uses: act/common/docker/docker-cp@master
|
||||||
|
with:
|
||||||
|
recreateVolume: true
|
||||||
|
volume: library
|
||||||
|
fromPath: Library
|
||||||
|
|||||||
Reference in New Issue
Block a user