File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1- name : Unity Auto Activation Build
1+ name : Unity Build
22
33on :
4- workflow_dispatch :
4+ workflow_dispatch : # run manually for now
55
66jobs :
77 build :
88 runs-on : ubuntu-latest
99 steps :
10- - name : Checkout project
10+ - name : Checkout repository
1111 uses : actions/checkout@v4
1212
13+ # 🔹 Activates Unity Personal using your Unity ID credentials
1314 - name : Activate Unity
1415 uses : game-ci/unity-activate@v2
1516 with :
16- unityVersion : 2022.3.18f1 # 🔹 replace with your ProjectVersion.txt
17- customImage : unityci/editor:ubuntu-2022.3.18f1-base-1
17+ unityVersion : 2022.3.18f1
1818 env :
1919 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
2020 UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
2121
22+ # 🔹 Build for Windows (change platform if needed)
2223 - name : Build project
2324 uses : game-ci/unity-builder@v4
2425 with :
2526 unityVersion : 2022.3.18f1
26- customImage : unityci/editor:ubuntu-2022.3.18f1-base-1
2727 targetPlatform : StandaloneWindows64
28- buildName : MyGame
29- buildPath : build
3028
31- - name : Upload artifact
29+ - name : Upload build
3230 uses : actions/upload-artifact@v4
3331 with :
34- name : MyGame-Windows
32+ name : GameBuild
3533 path : build
You can’t perform that action at this time.
0 commit comments