Skip to content

Commit e3a3af3

Browse files
committed
Fix eval docs update
1 parent 2fd5410 commit e3a3af3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/model-evaluation.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ jobs:
8787
- name: Download all results
8888
uses: actions/download-artifact@v8
8989
with:
90-
pattern: eval-results-*
90+
# Download all artifacts instead of using pattern matching.
91+
# When pattern matches a single artifact, download-artifact extracts
92+
# it directly into the path without creating a subdirectory, breaking
93+
# the expected path structure. Downloading all artifacts always creates
94+
# per-artifact subdirectories.
9195
path: eval-results
9296

9397
- name: Update model evaluation docs
@@ -101,10 +105,13 @@ jobs:
101105
--model-id "${MODEL}" \
102106
--results "${RESULTS_FILE}"
103107
else
104-
echo "::warning:: No results found for model ${MODEL}"
108+
echo "::warning::No results found for model ${MODEL}"
105109
fi
106110
done
107111
112+
- name: Clean up eval results
113+
run: rm -rf eval-results
114+
108115
- name: Check for changes
109116
id: check-changes
110117
run: |

0 commit comments

Comments
 (0)