Skip to content

Commit 266fe26

Browse files
committed
See wtf is in the gh action machine
1 parent 1e3ce83 commit 266fe26

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

install_executorch.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,28 @@ def main(args):
199199
if not python_is_compatible():
200200
sys.exit(1)
201201

202+
print("Doing some gh action machine filesystem exploration")
203+
204+
# 1. Print current working directory
205+
import os
206+
207+
print("Current working directory:", cwd)
208+
cwd = os.getcwd()
209+
210+
# 2. Print everything in current working directory
211+
print("\nContents of cwd:")
212+
for item in os.listdir(cwd):
213+
print(item)
214+
215+
# 3. Print everything in ./extension/llm/tokenizers/third-party/pcre2/src
216+
target_path = os.path.join(cwd, "extension", "llm", "tokenizers", "third-party", "pcre2", "src")
217+
print(f"\nContents of {target_path}:")
218+
if os.path.exists(target_path):
219+
for item in os.listdir(target_path):
220+
print(item)
221+
else:
222+
print("Target path does not exist.")
223+
202224
parser = build_args_parser()
203225
args = parser.parse_args()
204226

0 commit comments

Comments
 (0)