Skip to content

Commit a6e1129

Browse files
committed
chore: Remove debug lines
1 parent 3004f9e commit a6e1129

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

action.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,7 @@ runs:
3838
import sys, os
3939
import json
4040
41-
json_file = r"${{ github.action_path }}bin/resources.json"
42-
print("Reading '{}'".format(json_file))
43-
print("Reading '{}'".format(str(json_file)))
44-
try:
45-
from pathlib import Path
46-
json_file = str(Path(json_file).resolve())
47-
except ImportError:
48-
pass
49-
50-
with open(json_file, "r") as f:
41+
with open(r"${{ github.action_path }}bin/resources.json", "r") as f:
5142
json_content = json.load(f)
5243
5344
matching_versions = list(filter(lambda el: el["version"] == "${{ inputs.jython-version }}".strip(), json_content))

0 commit comments

Comments
 (0)