Skip to content

Commit 03802a5

Browse files
authored
Update merge_artifacts.yml
1 parent e5b6f8c commit 03802a5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/merge_artifacts.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@ jobs:
1212
- name: Checkout repo
1313
uses: actions/checkout@v4
1414

15-
- name: Download ALL artifacts
15+
# Create directory so listing never fails
16+
- name: Prepare merged_raw folder
17+
run: mkdir -p merged_raw
18+
19+
# Download ONLY artifacts matching your real naming
20+
- name: Download all scraper artifacts
1621
uses: actions/download-artifact@v4
1722
with:
18-
pattern: "*"
19-
path: merged_raw # all artifacts extracted here
23+
pattern: "reddit-scraper-data-*"
24+
path: merged_raw
25+
merge-multiple: true
2026

2127
- name: List downloaded artifacts
2228
run: |
23-
echo "Downloaded artifacts:"
29+
echo "Downloaded artifacts inside merged_raw:"
2430
ls -R merged_raw

0 commit comments

Comments
 (0)