mirror of
https://github.com/game-ci/unity-actions.git
synced 2026-01-28 20:19:07 +08:00
Try everything to activate
This commit is contained in:
@@ -3,11 +3,24 @@
|
||||
set -e
|
||||
|
||||
echo "$UNITY_LICENSE" > /root/.local/share/unity3d/Unity/Unity_lic.ulf
|
||||
echo "$UNITY_LICENSE" > /root/.local/share/unity3d/Unity/Unity_v2019.x.ulf
|
||||
echo "$UNITY_LICENSE" > Unity_v2019.x.ulf
|
||||
|
||||
cat /root/.local/share/unity3d/Unity/Unity_lic.ulf
|
||||
|
||||
set -x
|
||||
|
||||
echo "Testing for $TEST_PLATFORM"
|
||||
|
||||
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
|
||||
/opt/Unity/Editor/Unity \
|
||||
-batchmode \
|
||||
-nographics \
|
||||
-logFile /dev/stdout \
|
||||
-quit \
|
||||
-username "$UNITY_EMAIL" \
|
||||
-password "$UNITY_PASSWORD" || true
|
||||
|
||||
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
|
||||
/opt/Unity/Editor/Unity \
|
||||
-batchmode \
|
||||
|
||||
Reference in New Issue
Block a user