* fixed assets_publish

* change release workflow
This commit is contained in:
Komnus丶Q 2022-07-29 11:12:57 -07:00 коммит произвёл GitHub
Родитель 71d4bf95aa
Коммит 8d46376696
2 изменённых файлов: 2 добавлений и 2 удалений

2
.github/workflows/assets-release.yaml поставляемый
Просмотреть файл

@ -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)