-
-
Notifications
You must be signed in to change notification settings - Fork 12
Sources
James edited this page May 4, 2025
·
15 revisions
Sources are a way for you to choose what you want the Build Uploader to upload.
When a BuildTask executes, it will gather all the content from the Sources and copy them to a temporary location. (ie: Unity's persistent data path)
Specify what data you want to include in your upload. All Sources are executed at the same time then copied to the cached folder 1 by 1.
- Duplicate Files: When copying files over and there already being the same file, what should we do with the new file?
- Error
- Skip
- Overwrite
- Enabled: When on, this source will gather the content from a source and get it ready to be uploaded
- Export Path: A sub-path in the cached directory of which this source will be saved to before being modified and uploaded. Leave empty to save to the root folder.
Choose a File to upload
- Path: The path to the file or folder to upload.
-
Path Type: Specify which directory to select the content from.
- Absolute: Specify the full path of a file or folder.
- PathToAssets: Specify the path starting from the projects Assets folder.
Choose a Folder to upload
- Path: The path to the file or folder to upload.
-
Path Type: Specify which directory to select the content from.
- Absolute: Specify the full path of a file or folder.
- PathToAssets: Specify the path starting from the projects Assets folder.
Specify a url to download content from.
- File Name: The fileName to download the contents as. eg: MyPicture.png
-
Headers: The headers to send with the request.eg:
- accept = text/html
- accept-language = en-US,en;q=0.9
-
Method: The method to use when downloading the file.
- GET
- POST
- PUT
- DELETE
- URL: The URL to download from: eg: https://github.com/JamesVeug/UnitySteamBuildUploader/raw/refs/heads/main/LargeIcon.png
Downloads a zipped build from Unity Cloud
- Build: Which Build to download.
- Target: Which Build Target to select a build from off Unity Cloud. eg: Windows/Mac