Skip to content

Commit 4adb117

Browse files
Update extraction summary step to read from file
The extract action now saves summary stats to .extraction_summary.txt, making them easy to view in the 'Display extraction summary' step without scrolling through thousands of lines in the main extraction logs.
1 parent 995c056 commit 4adb117

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/extract-text.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,8 @@ jobs:
3030
if: always()
3131
shell: bash
3232
run: |
33-
echo "📊 Text Extraction Summary"
34-
echo "================================"
35-
echo "✅ Check country:us/state:*/sessions/*/bills/*/files/ for extracted text files"
36-
echo "📄 Look for *_extracted.txt files in the files/ directories"
37-
echo ""
38-
echo "ℹ️ Features:"
39-
echo " - Incremental processing (skips already-processed bills)"
40-
echo " - Auto-saves progress every 30 minutes"
41-
echo " - Can be safely restarted if timeout occurs"
33+
if [ -f ".extraction_summary.txt" ]; then
34+
cat .extraction_summary.txt
35+
else
36+
echo "⚠️ Summary file not found"
37+
fi

0 commit comments

Comments
 (0)