File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 permissions :
2323 contents : read
2424 timeout-minutes : 30
25+ env :
26+ UNITY_PROJECT_PATH : ' ' # Set from create-project step
2527 steps :
2628 - uses : actions/checkout@v4
2729 - uses : actions/setup-node@v4
@@ -80,11 +82,11 @@ jobs:
8082 unity-cli run --unity-editor "${UNITY_EDITOR_PATH}" --unity-project "${UNITY_PROJECT_PATH}" --log-name Validate -quit -nographics -batchmode -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.ValidateProject -importTMProEssentialsAsset
8183 unity-cli run --unity-editor "${UNITY_EDITOR_PATH}" --unity-project "${UNITY_PROJECT_PATH}" --log-name Build -quit -nographics -batchmode -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.StartCommandLineBuild -sceneList Assets/Scenes/SampleScene.unity
8284 - name : Uninstall editor
83- if : always()
85+ if : ${{ always() && env.UNITY_EDITOR_PATH != '' }}
8486 shell : bash
8587 run : |
8688 unity-cli uninstall-unity --unity-editor "${UNITY_EDITOR_PATH}"
87- - name : Post Run
89+ - name : Return license
8890 if : always()
8991 shell : bash
9092 run : |
You can’t perform that action at this time.
0 commit comments