From 838b85e50ae4f10a34a397e90d04084cd0c1ed50 Mon Sep 17 00:00:00 2001 From: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Wed, 27 May 2020 14:20:47 +0800 Subject: [PATCH] Zip rule files into one Closes #25 --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b800a28..b712060 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,11 +138,13 @@ jobs: mv ./*-excluse-list ./publish/ cp -f $GOPATH/src/$GEOSITE_REPO/data/{proxy,direct,reject}-list ./publish/ - - name: Generate dat files sha256 hash + - name: Zip files and generate sha256 hash run: | cd ./publish + zip rules.zip {proxy,direct,reject}-list *.dat sha256sum geoip.dat > geoip.dat.sha256sum sha256sum geosite.dat > geosite.dat.sha256sum + sha256sum rules.zip > rules.zip.sha256sum - name: Release and upload assets uses: softprops/action-gh-release@v1