Skip to content

Commit da73436

Browse files
committed
Reduce Disk Space Usage
1 parent 89b0d85 commit da73436

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,13 @@ jobs:
4646
export PATH="/opt/jena/bin:${PATH}"
4747
4848
tdb2.tdbloader --loc=./tdbstore col.nt
49+
rm col.nt
4950
tdb2.tdbupdate --loc=./tdbstore --update=add-kingdoms.sparql
5051
51-
tdb2.tdbdump --loc=./tdbstore > col.nt
52+
tdb2.tdbdump --loc=./tdbstore | gzip > col.nt.gz
5253
5354
# Remove tdbstore to save space
5455
rm -rf ./tdbstore
55-
56-
gzip -k col.nt
57-
# Remove uncompressed col.nt to save space
58-
rm col.nt
5956
6057
# Using `tarql --ntriples` to emit ntriples directly.
6158
# This is a workaround to our lindas-upload-cronjob failing to convert a ttl file this large using rapper.

0 commit comments

Comments
 (0)