fixed assets_publish (#159)
* fixed assets_publish * change release workflow
This commit is contained in:
Родитель
71d4bf95aa
Коммит
8d46376696
|
@ -184,7 +184,6 @@ jobs:
|
|||
|
||||
- name: Clone release branch
|
||||
uses: actions/checkout@v3
|
||||
if: steps.download-artifact.outputs.download-path
|
||||
with:
|
||||
ref: release
|
||||
fetch-depth: 0
|
||||
|
@ -201,6 +200,7 @@ jobs:
|
|||
|
||||
# TODO: This is overkill, just copy directories without involving this script
|
||||
- name: Update release branch
|
||||
if: steps.download-artifact.outputs.download-path
|
||||
run: python -u $main_dir/$scripts_assets_dir/update_assets.py -i ${{ runner.temp }}/$releasable_assets_artifact -r $release_dir -c
|
||||
|
||||
- name: Convert test files and scripts
|
||||
|
|
|
@ -94,7 +94,7 @@ if __name__ == '__main__':
|
|||
version=final_version)
|
||||
# switch case for asset type
|
||||
if asset.type == assets.AssetType.COMPONENT:
|
||||
cmd = f"az ml component create --subscription{subscription_id} " \
|
||||
cmd = f"az ml component create --subscription {subscription_id} " \
|
||||
f"--file {spec_path} --registry-name {registry_name} " \
|
||||
f"--version {final_version} --workspace {workspace} --resource-group {resource_group}"
|
||||
print(cmd)
|
||||
|
|
Загрузка…
Ссылка в новой задаче