Skip to content

Commit 7ee9d8c

Browse files
committed
update class UnityCloudBuilder
1 parent 5934e2d commit 7ee9d8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.py

+4
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ class UnityCloudBuilder:
304304
def __init__(
305305
self,
306306
client: UnityCloudClient,
307+
org_id: str,
307308
project_id: str,
308309
primary_build_target: str,
309310
branch_and_label: BranchAndLabel
@@ -317,6 +318,8 @@ def __init__(
317318
if not branch_and_label:
318319
raise Exception(f"Missing branch_and_label. required")
319320

321+
self.api_base_url = "https://build-api.cloud.unity3d.com/api/v1"
322+
self.org_id = org_id.lower()
320323
self.project_id = project_id
321324
self.primary_build_target = primary_build_target
322325
self.branch_and_label = branch_and_label
@@ -629,6 +632,7 @@ def main(
629632

630633
builder: UnityCloudBuilder = UnityCloudBuilder(
631634
client,
635+
org_id,
632636
project_id,
633637
primary_build_target,
634638
branch_and_label

0 commit comments

Comments
 (0)