Fix path issues
							parent
							
								
									cdf7e5d845
								
							
						
					
					
						commit
						9105cc8a7a
					
				|  | @ -1336,7 +1336,7 @@ class SetupMac { | ||||||
|             const unityChangeset = yield unity_changeset_1.getUnityChangeset(buildParameters.version); |             const unityChangeset = yield unity_changeset_1.getUnityChangeset(buildParameters.version); | ||||||
|             //Need to set environment variables from here because we execute
 |             //Need to set environment variables from here because we execute
 | ||||||
|             //the scripts on the host for mac
 |             //the scripts on the host for mac
 | ||||||
|             process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac`; |             process.env.ACTION_FOLDER = actionFolder; | ||||||
|             process.env.UNITY_VERSION = buildParameters.version; |             process.env.UNITY_VERSION = buildParameters.version; | ||||||
|             process.env.UNITY_CHANGESET = unityChangeset.changeset; |             process.env.UNITY_CHANGESET = unityChangeset.changeset; | ||||||
|             process.env.UNITY_SERIAL = buildParameters.unitySerial; |             process.env.UNITY_SERIAL = buildParameters.unitySerial; | ||||||
|  |  | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -3,10 +3,10 @@ | ||||||
| # | # | ||||||
| # Run steps | # Run steps | ||||||
| # | # | ||||||
| source $SCRIPT_DIRECTORY/steps/setup.sh | source $ACTION_FOLDER/platforms/mac/steps/setup.sh | ||||||
| source $SCRIPT_DIRECTORY/steps/activate.sh | source $ACTION_FOLDER/platforms/mac/steps/activate.sh | ||||||
| source $SCRIPT_DIRECTORY/steps/build.sh | source $ACTION_FOLDER/platforms/mac/steps/build.sh | ||||||
| source $SCRIPT_DIRECTORY/steps/return_license.sh | source $ACTION_FOLDER/platforms/mac/steps/return_license.sh | ||||||
| 
 | 
 | ||||||
| # | # | ||||||
| # Instructions for debugging | # Instructions for debugging | ||||||
|  |  | ||||||
|  | @ -48,7 +48,7 @@ if [ -z "$BUILD_METHOD" ]; then | ||||||
|   # Create Editor directory if it does not exist |   # Create Editor directory if it does not exist | ||||||
|   mkdir -p "$UNITY_PROJECT_PATH/Assets/Editor/" |   mkdir -p "$UNITY_PROJECT_PATH/Assets/Editor/" | ||||||
|   # Copy the build script of Unity Builder action |   # Copy the build script of Unity Builder action | ||||||
|   cp -R "/UnityBuilderAction/Assets/Editor/" "$UNITY_PROJECT_PATH/Assets/Editor/" |   cp -R "$ACTION_FOLDER/default-build-script/Assets/Editor/" "$UNITY_PROJECT_PATH/Assets/Editor/" | ||||||
|   # Set the Build method to that of UnityBuilder Action |   # Set the Build method to that of UnityBuilder Action | ||||||
|   BUILD_METHOD="UnityBuilderAction.Builder.BuildProject" |   BUILD_METHOD="UnityBuilderAction.Builder.BuildProject" | ||||||
|   # Verify recursive paths |   # Verify recursive paths | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ class SetupMac { | ||||||
| 
 | 
 | ||||||
|     //Need to set environment variables from here because we execute
 |     //Need to set environment variables from here because we execute
 | ||||||
|     //the scripts on the host for mac
 |     //the scripts on the host for mac
 | ||||||
|     process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac`; |     process.env.ACTION_FOLDER = actionFolder; | ||||||
|     process.env.UNITY_VERSION = buildParameters.version; |     process.env.UNITY_VERSION = buildParameters.version; | ||||||
|     process.env.UNITY_CHANGESET = unityChangeset.changeset; |     process.env.UNITY_CHANGESET = unityChangeset.changeset; | ||||||
|     process.env.UNITY_SERIAL = buildParameters.unitySerial; |     process.env.UNITY_SERIAL = buildParameters.unitySerial; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue