Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrohanea committed Nov 10, 2024
1 parent bd0bf1f commit 3e57ce3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/collect-gpt-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down Expand Up @@ -97,6 +97,7 @@ jobs:
for file_path in important_files:
f.write(f"## {file_path}\n")
full_path = os.path.join(repo_root, file_path)
print(f"Checking path: {full_path}")
if os.path.exists(full_path):
with open(full_path, 'r', encoding='utf-8') as code_file:
f.write("```csharp\n")
Expand All @@ -110,7 +111,7 @@ jobs:
EOF
- name: Upload data artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: data
path: "*.md"

0 comments on commit 3e57ce3

Please sign in to comment.