File tree Expand file tree Collapse file tree 1 file changed +8
-21
lines changed
Expand file tree Collapse file tree 1 file changed +8
-21
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77 workflow_dispatch :
8-
8+
99jobs :
1010 setup-unity :
1111 runs-on : ubuntu-latest
@@ -14,26 +14,13 @@ jobs:
1414 - name : Checkout Repository
1515 uses : actions/checkout@v4
1616
17- - name : Install FUSE for AppImage
18- run : |
19- sudo apt update
20- sudo apt install -y libfuse2
21-
22- - name : Download and Install Unity Hub
23- run : |
24- wget https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage -O UnityHub.AppImage
25- chmod +x UnityHub.AppImage
26- sudo mv UnityHub.AppImage /usr/local/bin/unity-hub
27-
28- - name : Install Unity via Unity Hub CLI
29- run : |
30- unity-hub --no-sandbox --headless install
31- unity-hub --no-sandbox -- --headless install --version 2022.3.15f1
32-
33- - name : Verify Unity Installation
34- run : |
35- /opt/unity/Editor/Unity --version
17+ - name : Install Unity Editor
18+ uses : game-ci/unity-setup@v2
19+ with :
20+ unityVersion : 2021.3.16f1
21+ allowDirtyBuild : true
22+ installLinuxIL2CPP : false
3623
3724 - name : Generate Solution and Project Files
3825 run : |
39- /opt/unity/Editor/Unity -batchmode -logFile /dev/stdout -projectPath $GITHUB_WORKSPACE -quit
26+ /opt/unity/Editor/Unity -batchmode -logFile /dev/stdout -projectPath $GITHUB_WORKSPACE -quit
You can’t perform that action at this time.
0 commit comments