Skip to content

Commit 0522099

Browse files
[skip ci] Support uploading only artifact bundles
1 parent 191ac80 commit 0522099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gh-distribute-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ def latest_success_run_id(gh: GitHub, workflow_name: str, branch: str, scheme: s
879879
artifacts = gh.list_artifacts(run["id"])
880880
for artifact in artifacts:
881881
artifact_name = artifact["name"]
882-
if not artifact_name.endswith("-installable"):
882+
if not artifact_name.endswith("-installable") and not artifact_name.endswith("-artifactbundle"):
883883
continue
884884
_, artifact_scheme, _ = derive_platform_suffix_and_scheme(artifact_name, scheme)
885885
if artifact_scheme == scheme:

0 commit comments

Comments
 (0)