File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ jobs:
4141 if os.getenv("GITHUB_EVENT_NAME") == "workflow_dispatch":
4242 tag = os.getenv("INPUT_RELEASE_TAG")
4343 else:
44- with open(os.getenv("GITHUB_EVENT_PATH"), "r") as event_file:
44+ with open(os.getenv("GITHUB_EVENT_PATH"), "r", encoding="utf-8" ) as event_file:
4545 event = json.load(event_file)
4646 tag = event["release"]["tag_name"]
4747
4848 module_name, module_version = tag.split("-")
49- with open(os.getenv("GITHUB_OUTPUT"), "a") as output_file:
49+ with open(os.getenv("GITHUB_OUTPUT"), "a", encoding="utf-8" ) as output_file:
5050 output_file.write(f"module_name={module_name}\n")
5151 output_file.write(f"module_version={module_version}\n")
5252 # NOTE: we don't upload test coverage for this
You can’t perform that action at this time.
0 commit comments