Skip to content

Commit

Permalink
fix: do not use cache (#1592)
Browse files Browse the repository at this point in the history
* fix: do not use cache

Signed-off-by: Ashley Canning <[email protected]>

* Update build.py

Signed-off-by: Ashley Canning <[email protected]>

---------

Signed-off-by: Ashley Canning <[email protected]>
  • Loading branch information
m3taphysics authored Aug 1, 2024
1 parent 98c8d5b commit a09f2a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/cloudbuild/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@ def generate_body(template_target, name, branch, options, cache):
new_target_name = f'{re.sub(r'^t_', '', os.getenv('TARGET'))}-{re.sub('[^A-Za-z0-9]+', '-', os.getenv('BRANCH_NAME'))}'.lower()

# Generate request body
# Disabled cache for now as its not playing well with Unity and we delete builds anyway!
body = generate_body(
os.getenv('TARGET'),
new_target_name,
os.getenv('BRANCH_NAME'),
os.getenv('BUILD_OPTIONS').split(','),
(os.getenv('USE_CACHE') == 'true' or os.getenv('USE_CACHE') == ''))
False)

existing_target = get_target(new_target_name)

Expand Down

0 comments on commit a09f2a4

Please sign in to comment.