diff --git a/tagging/github_workflow_commands.py b/tagging/github_workflow_commands.py index 6613fe69..46005472 100644 --- a/tagging/github_workflow_commands.py +++ b/tagging/github_workflow_commands.py @@ -16,8 +16,6 @@ in a GitHub CI environment. import json import os -from contextlib import contextmanager - def _gwc(command_name, command_value="", **params): if not os.environ.get("GITHUB_ACTIONS"): @@ -35,18 +33,6 @@ def _gwc(command_name, command_value="", **params): print(f"::{command_name}::{command_value}") -@contextmanager -def _gwc_group(group_name): - """ - Entering the context prints the group command, and exiting the context - prints the endgroup command.<< - """ - try: - yield _gwc("group", group_name) - finally: - _gwc("endgroup", group_name) - - def _gwc_set_env(env_name, env_value): if not os.environ.get("GITHUB_ACTIONS") or not os.environ.get("GITHUB_ENV"): return