Fix project path
							parent
							
								
									f5b23d8f21
								
							
						
					
					
						commit
						9bcd2f765a
					
				|  | @ -2,6 +2,9 @@ | |||
| 
 | ||||
| echo "Requesting activation" | ||||
| 
 | ||||
| # Need this because it tries to initialize the library when activating | ||||
| UNITY_PROJECT_PATH="$GITHUB_WORKSPACE/$PROJECT_PATH" | ||||
| 
 | ||||
| # Activate license | ||||
| /Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \ | ||||
|   -logFile /dev/stdout \ | ||||
|  | @ -10,7 +13,8 @@ echo "Requesting activation" | |||
|   -quit \ | ||||
|   -serial "$UNITY_SERIAL" \ | ||||
|   -username "$UNITY_EMAIL" \ | ||||
|   -password "$UNITY_PASSWORD" | ||||
|   -password "$UNITY_PASSWORD" \ | ||||
|   -projectPath "$UNITY_PROJECT_PATH" | ||||
| 
 | ||||
| # Store the exit code from the verify command | ||||
| UNITY_EXIT_CODE=$? | ||||
|  |  | |||
|  | @ -1,8 +1,12 @@ | |||
| #!/usr/bin/env bash | ||||
| 
 | ||||
| # Need this because it tries to initialize the library when deactivating | ||||
| UNITY_PROJECT_PATH="$GITHUB_WORKSPACE/$PROJECT_PATH" | ||||
| 
 | ||||
| /Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \ | ||||
|   -logFile /dev/stdout \ | ||||
|   -batchmode \ | ||||
|   -nographics \ | ||||
|   -quit \ | ||||
|   -returnlicense | ||||
|   -returnlicense \ | ||||
|   -projectPath "$UNITY_PROJECT_PATH" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue