OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GHA] Auto-convert artifact keys to lower-case (#29141)
Alina Kladieva569ebeae94fc
diff --git a/.github/actions/common/artifact_utils.py b/.github/actions/common/artifact_utils.pyindex cbef0e76024..8584d71e673 100644--- a/.github/actions/common/artifact_utils.py+++ b/.github/actions/common/artifact_utils.py@@ -18,10 +18,10 @@ def add_common_args(parser: argparse.ArgumentParser):default=os.getenv('ARTIFACTS_SHARE'))group = parser.add_mutually_exclusive_group(required=True)group.add_argument('-d', '--storage_dir', help='Subdirectory name for artifacts, same as product type',- choices=[platform_key.value for platform_key in ProductType])- group.add_argument('-p', '--platform', type=str,+ choices=[product_type.value for product_type in ProductType], type=str.lower)+ group.add_argument('-p', '--platform', type=str.lower,help='Platform for which to restore artifacts. Used if storage_dir is not set',- choices=[product_type.value for product_type in PlatformKey])+ choices=[platform_key.value for platform_key in PlatformKey])def get_event_type(event_name: str = os.getenv('GITHUB_EVENT_NAME')) -> str:diff --git a/.github/actions/common/constants.py b/.github/actions/common/constants.pyindex a9ed34ce7a2..f50f0de92db 100644--- a/.github/actions/common/constants.py+++ b/.github/actions/common/constants.py@@ -14,10 +14,10 @@ productTypes = ('public_linux_ubuntu_22_04_x86_64_release','public_linux_ubuntu_22_04_dpcpp_x86_64_release','public_linux_ubuntu_24_04_x86_64_release',- 'public_windows_vs2019_Release',- 'public_windows_vs2019_Debug',- 'public_windows_vs2022_Release',- 'public_windows_vs2022_Debug',+ 'public_windows_vs2019_release',+ 'public_windows_vs2019_debug',+ 'public_windows_vs2022_release',+ 'public_windows_vs2022_debug','public_manylinux2014_x86_64_release',)ProductType = Enum('ProductType', {t.upper(): t for t in productTypes})