Skip to content

Commit 04dca60

Browse files
committed
upload-database.yml: Verify SHA-256 checksums of *.7z.00? files too
1 parent 1feeb19 commit 04dca60

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/upload-database.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,23 @@ jobs:
4747
sudo eatmydata apt install -y 7zip
4848
sudo eatmydata apt clean
4949
50-
- name: Join 100 MiB chunks into 2000 MiB 7-Zip volumes
50+
- name: Join 100 MiB chunks into original 2000 MiB 7-Zip volumes
5151
run: |
5252
for i in *.7z.[0-9][0-9][0-9].aa; do
5353
j=$(basename $i .aa)
5454
cat $j.?? > $j
5555
rm $j.[a-z][a-z]
5656
done
57+
ls -l *.7z.[0-9][0-9][0-9]
5758
58-
- name: Extract opendrr-boundaries-db.dump for checking
59+
- name: Verify SHA-256 checksum of opendrr-boundaries-db.7z.[0-9][0-9][0-9]
60+
run: |
61+
sha256sum -c opendrr-boundaries-db.7z.sha256sum
62+
63+
- name: Extract opendrr-boundaries-db.dump
5964
run: 7zz x opendrr-boundaries-db.7z.001
6065

61-
- name: Verify SHA256 checksum of opendrr-boundaries-db.dump
66+
- name: Verify SHA-256 checksum of opendrr-boundaries-db.dump
6267
run: |
6368
sha256sum -c opendrr-boundaries-db.dump.sha256sum
6469
rm -f -v opendrr-boundaries-db.dump

0 commit comments

Comments
 (0)