diff --git a/action/steps/activate.sh b/action/steps/activate.sh index d39eee01..a20d3f51 100644 --- a/action/steps/activate.sh +++ b/action/steps/activate.sh @@ -25,7 +25,7 @@ if [[ -n "$UNITY_LICENSE" ]] || [[ -n "$UNITY_LICENSE_FILE" ]]; then # Activate license ACTIVATION_OUTPUT=$(xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \ - /opt/Unity/Editor/Unity \ + unity-editor \ -batchmode \ -nographics \ -logFile /dev/stdout \ @@ -64,7 +64,7 @@ elif [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then # Activate license xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \ - /opt/Unity/Editor/Unity \ + unity-editor \ -batchmode \ -nographics \ -logFile /dev/stdout \ diff --git a/action/steps/build.sh b/action/steps/build.sh index 1c3bb57a..843f2034 100755 --- a/action/steps/build.sh +++ b/action/steps/build.sh @@ -109,7 +109,7 @@ echo "###########################" echo "" xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \ - /opt/Unity/Editor/Unity \ + unity-editor \ -batchmode \ -logfile /dev/stdout \ -quit \ diff --git a/action/steps/return_license.sh b/action/steps/return_license.sh index be21b1ed..c26a1ad0 100644 --- a/action/steps/return_license.sh +++ b/action/steps/return_license.sh @@ -7,7 +7,7 @@ if [[ -n "$UNITY_SERIAL" ]]; then # This will return the license that is currently in use. # xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \ - /opt/Unity/Editor/Unity \ + unity-editor \ -batchmode \ -nographics \ -logFile /dev/stdout \