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