From cda322bf0de790f123d2c7186a5806a5eeff6947 Mon Sep 17 00:00:00 2001 From: ZelinWang Date: Wed, 7 Feb 2024 15:48:02 +0800 Subject: [PATCH] {CI} Fix sync_extensions.py (#7266) --- scripts/ci/sync_extensions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci/sync_extensions.py b/scripts/ci/sync_extensions.py index 4de64a3247d..519865ff339 100644 --- a/scripts/ci/sync_extensions.py +++ b/scripts/ci/sync_extensions.py @@ -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',