Skip to content

Commit 56edb35

Browse files
authored
[action/ci] pkgs --update-force instead of pkgs --update
1 parent 2fffae7 commit 56edb35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/ci/bsp_buildings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def build_bsp(bsp, scons_args=''):
6262
run_cmd(f'scons -C bsp/{bsp} --pyconfig-silent', output_info=False)
6363

6464
os.chdir(f'{rtt_root}/bsp/{bsp}')
65-
run_cmd('pkgs --update', output_info=False)
65+
run_cmd('pkgs --update-force', output_info=False)
6666
run_cmd('pkgs --list')
6767

6868
nproc = multiprocessing.cpu_count()
@@ -76,8 +76,8 @@ def build_bsp(bsp, scons_args=''):
7676
os.chdir(f'{rtt_root}/bsp/{bsp}')
7777
run_cmd('scons -c', output_info=False)
7878

79-
pkg_dir = os.path.join(rtt_root, 'bsp', bsp, 'packages')
80-
shutil.rmtree(pkg_dir, ignore_errors=True)
79+
#pkg_dir = os.path.join(rtt_root, 'bsp', bsp, 'packages')
80+
#shutil.rmtree(pkg_dir, ignore_errors=True)
8181

8282
return success
8383

0 commit comments

Comments
 (0)