Use ubuntu not linux when referencing artifacts, add dupe check

This commit is contained in:
Beq
2024-09-16 19:38:38 +01:00
parent 1c9f5fce2a
commit 5589975761
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
"os_hosted_folder": {
"windows": "windows",
"macos": "mac",
"linux": "linux"
"ubuntu": "linux"
},
"platforms_printable": {
"windows": "MS Windows",
+3 -2
View File
@@ -227,8 +227,9 @@ def unpack_artifacts(path_to_artifacts_directory, config):
"build_type_fullpath": build_type_dir,
"os_folders": [],
}
print(f"Appended {os_folder} to build_type {build_type}")
build_types_found[build_type]["os_folders"].append(os_folder)
if os_folder not in build_types_found[build_type]["os_folders"]:
build_types_found[build_type]["os_folders"].append(os_folder)
print(f"Appended {os_folder} to build_type {build_type}")
print(f"Finished processing artifacts for build_type {build_type}")
return build_types_found