From 4d4081ba477fc2025617ca6326a9a333502b3bc3 Mon Sep 17 00:00:00 2001 From: hRun Date: Wed, 12 Apr 2023 06:20:25 -0700 Subject: [PATCH] Update GeoLite.yml --- .github/workflows/GeoLite.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/GeoLite.yml b/.github/workflows/GeoLite.yml index ed887ee..2a78c89 100644 --- a/.github/workflows/GeoLite.yml +++ b/.github/workflows/GeoLite.yml @@ -45,6 +45,10 @@ jobs: - name: Copy GeoLite2.csv run: | cp -v GeoLite*/*.csv upload + split -l 650000 -d upload/GeoLite2-City-Blocks-IPv4.csv upload/GeoLite2-City-Blocks-IPv4.csv. + rm upload/GeoLite2-City-Blocks-IPv4.csv + split -l 650000 -d upload/GeoLite2-City-Blocks-IPv6.csv upload/GeoLite2-City-Blocks-IPv6.csv. + rm upload/GeoLite2-City-Blocks-IPv6.csv echo "TAG_NAME=$(date +"%Y.%m.%d")" >> $GITHUB_ENV - name: Push to "download" branch