File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 2323 name : Unity Build 👽
2424 runs-on : ubuntu-latest
2525 steps :
26- # Checkout (without LFS)
26+ # Checkout repository
2727 - name : Checkout repository
2828 uses : actions/checkout@v3
2929 with :
@@ -56,17 +56,19 @@ jobs:
5656 restore-keys : |
5757 Library-
5858
59- # Build the project ( using a Docker image)
59+ # Build the project using Unity Builder (updated image)
6060 - name : Build project
6161 uses : game-ci/unity-builder@v2
62+ with :
63+ targetPlatform : WebGL # Use WebGL platform directly
64+ unityVersion : 2022.3.10f1 # Ensure the Unity version is set correctly
65+ allowDirtyBuild : true
6266 env :
6367 UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
6468 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
6569 UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
66- with :
67- targetPlatform : WebGL # Especificar directamente WebGL
68- buildsPath : ${{ secrets.BUILD_PATH }}
69- allowDirtyBuild : true
70+ BUILD_PATH : ${{ secrets.BUILD_PATH }}
71+ BUILD_NAME : WebGL
7072
7173 # Upload build artifact
7274 - name : Upload Build Artifact
@@ -125,4 +127,4 @@ jobs:
125127 git commit -m "Deployment"
126128 git push
127129 env :
128- GH_TOKEN : ${{ secrets.PAT }} # Usar el token de autenticación para git push
130+ GH_TOKEN : ${{ secrets.PAT }} # Use the authentication token for git push
You can’t perform that action at this time.
0 commit comments