Skip to content

Commit

Permalink
{CI} Fix sync_extensions.py (#7266)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzelin007 authored Feb 7, 2024
1 parent bd10900 commit cda322b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ci/sync_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def _sync_wheel(ext, updated_indexes, failed_urls, overwrite, temp_dir):
return

cmd = ['az', 'storage', 'blob', 'upload', '--container-name', f'{STORAGE_CONTAINER}', '--account-name',
f'{STORAGE_ACCOUNT}', '--name', f'{blob_name}', '--file', 'file_path', '--auth-mode', 'login']
f'{STORAGE_ACCOUNT}', '--name', f'{blob_name}', '--file', f'{os.path.abspath(whl_path)}',
'--auth-mode', 'login']
result = subprocess.run(cmd, check=True, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
print(json.loads(result.stdout))
cmd = ['az', 'storage', 'blob', 'url', '--container-name', f'{STORAGE_CONTAINER}', '--account-name',
Expand Down

0 comments on commit cda322b

Please sign in to comment.