Skip to content

Commit a58d141

Browse files
committed
print
1 parent 462197a commit a58d141

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.actions/assistant.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def generate_docker_tags(
489489
cuda_version: str,
490490
docker_project: str = "pytorchlightning/pytorch_lightning",
491491
add_latest: bool = False,
492-
) -> str:
492+
) -> None:
493493
"""Generate docker tags for the given versions."""
494494
tags = [f"latest-py{python_version}-torch{torch_version}-cuda{cuda_version}"]
495495
if release_version:
@@ -498,7 +498,7 @@ def generate_docker_tags(
498498
tags += ["latest"]
499499

500500
tags = [f"{docker_project}:{tag}" for tag in tags]
501-
return ",".join(tags)
501+
print(",".join(tags))
502502

503503

504504
if __name__ == "__main__":

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: Set tags
6767
run: |
6868
pip install -q -r .actions/requirements.txt
69-
tags = $(python .actions/assistant.py generate_docker_tags \
69+
tags=$(python .actions/assistant.py generate_docker_tags \
7070
--release_version="${{ env.RELEASE_VERSION }}" \
7171
--python_version="${{ matrix.python_version }}" \
7272
--torch_version="${{ matrix.pytorch_version }}" \

0 commit comments

Comments
 (0)