8000 try to fix drazzy failure · adafruit/ci-arduino@c56cc8c · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c56cc8c

Browse files
committed
try to fix drazzy failure
1 parent 665c312 commit c56cc8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_platform.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ def install_platform(fqbn, full_platform_name=None):
131131
if os.system("arduino-cli core install "+fqbn+" --additional-urls "+BSP_URLS+" > /dev/null") == 0:
132132
break
133133
print("...retrying...", end=" ")
134+
if os.path.exists(".arduino15/package_drazzy.json"):
135+
shutil.move(".arduino15/package_drazzy.json", ".arduino15/package_drazzy.com_index.json")
136+
134137
time.sleep(10) # wait 10 seconds then try again?
135138
else:
136139
# tried 3 times to no avail

0 commit comments

Comments
 (0)
0