Skip to content

Commit

Permalink
fixed not running github action
Browse files Browse the repository at this point in the history
  • Loading branch information
elral committed Jan 16, 2024
1 parent a99e854 commit a2cb61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions get_CoreFiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
print ("Cloning Mobiflight-Firmware repo ... ")
env.Execute(f'git clone --depth 1 --filter=blob:none --sparse --branch {CORESOURCE_TAG} "{CORESOURCE}" "{CORESOURCE_DIR}"')
env.Execute(f'git --work-tree="{CORESOURCE_DIR}" --git-dir="{CORESOURCE_DIR}/.git" sparse-checkout set _Boards src')
if os.path.isfile(f'"{CORESOURCE_DIR}/platformio.ini"'):
os.remove(f'{CORESOURCE_DIR}/platformio.ini"')
if os.path.isfile(CORESOURCE_DIR + "/platformio.ini"):
os.remove(CORESOURCE_DIR + "/platformio.ini")
else:
print ("Checking for Mobiflight-Firmware repo updates ... ")
env.Execute(f'git --work-tree="{CORESOURCE_DIR}" --git-dir="{CORESOURCE_DIR}/.git" pull origin {CORESOURCE_TAG} --depth 100')

0 comments on commit a2cb61a

Please sign in to comment.