Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
add more stats for troubleshooting (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahernandez411 authored Dec 20, 2023
1 parent e2ee772 commit 4bc8386
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
...
- name: 'Zip and Upload Artifact'
uses: im-open/[email protected].10
uses: im-open/[email protected].11
with:
name: ${{ env.CODE_COVERAGE_REPORT_NAME }}
path: ${{ env.CODE_COVERAGE_DIR }}
Expand All @@ -47,7 +47,7 @@ jobs:
steps:
...
- name: Zip and Upload Files and Ignore one
uses: im-open/[email protected].10
uses: im-open/[email protected].11
with:
name: ${{ env.FILE_NAME }}
path: |
Expand Down
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ runs:
discovered_paths = glob.glob(path_value, recursive=True)
paths.extend(discovered_paths)
print(f"Discovered {len(paths)} {list_type} paths: {', '.join(paths)}")
print(f"Discovered {len(paths)} {list_type} paths: {os.linesep + '- '.join(paths)}")
return paths
print()
Expand All @@ -105,12 +105,14 @@ runs:
print("Inputs")
file_name = os.environ['FILE_NAME'].strip()
print(f"- Name: {file_name}")
print(f"- Name: '{file_name}'")
file_path = os.environ['FILE_PATH'].splitlines()
print(f"- Path: {', '.join(file_path)}")
print(f"- Path: '{', '.join(file_path)}'")
root_paths = get_root_paths(file_path)
print(f"- Root Paths: '{', '.join(root_paths)}'")
included_paths = get_paths(file_path, list_type="included")
excluded_paths = get_paths(file_path, list_type="excluded")
Expand Down

0 comments on commit 4bc8386

Please sign in to comment.