Skip to content

Commit

Permalink
added printing of script progression
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Jul 9, 2024
1 parent cba5806 commit 25593c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/process_profile_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ def processProfiles ():
print(" - " + l["profile"] + " " + l["version"])


print("### HELLO !!!!11123")

# ## Main Script

Expand All @@ -153,10 +152,13 @@ def processProfiles ():

# For each new uploaded JSON-LD file
for arg in args:
print("Checking current script argument: ", arg)
if "jsonld" in arg.split("/"):
print("Found JSON-LD file.")
if "json" in arg.split("."):
print("Found json file.")
arglist = arg.split("/")

profile_name = arg.split("/")[-1].split(".json")[0].split("_")[0]
print("### Custom output: ", profile_name)
print("Running processProfiles() for : ", profile_name)
processProfiles(profile_name)

0 comments on commit 25593c2

Please sign in to comment.