File tree Expand file tree Collapse file tree 1 file changed +22
-11
lines changed
Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change 77 workflow_dispatch :
88
99jobs :
10- setup-unity :
10+ generate-solution :
1111 runs-on : ubuntu-latest
12-
1312 steps :
14- - name : Checkout Repository
13+ - name : Checkout repository
1514 uses : actions/checkout@v4
1615
17- - name : Install Unity Editor
18- uses : game-ci/unity-setup@v2
16+ - name : Cache Library Folder
17+ uses : actions/cache@v3
1918 with :
20- unityVersion : 2021.3.16f1
21- allowDirtyBuild : true
22- installLinuxIL2CPP : false
19+ path : Library
20+ key : Library-${{ runner.os }}-${{ github.sha }}
21+ restore-keys : |
22+ Library-${{ runner.os }}-
2323
24- - name : Generate Solution and Project Files
25- run : |
26- /opt/unity/Editor/Unity -batchmode -logFile /dev/stdout -projectPath $GITHUB_WORKSPACE -quit
24+ - name : Build project
25+ uses : game-ci/unity-builder@v4
26+ env :
27+ UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
28+ UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
29+ UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
30+ with :
31+ buildMethod : UnityEditor.SyncVS.SyncSolution
32+
33+ - name : Upload Solution Files
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : UnitySolution
37+ path : " *.sln"
You can’t perform that action at this time.
0 commit comments