From b7682d5846d552e665a3a85bb40481e63c36ec2f Mon Sep 17 00:00:00 2001 From: Loyalsoldier Date: Mon, 24 Feb 2020 15:49:06 +0800 Subject: [PATCH] Add sha256 hash --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efdee58..87272e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,6 +115,11 @@ jobs: mv ./*-excluse-list.txt ./publish/ cp -f $GOPATH/src/$GEOSITE_REPO/data/{proxy,direct,reject}list ./publish/ + - name: Generate dat files sha256 hash + run: | + sha256sum ./publish/geoip.dat > ./publish/geoip.dat.sha256 + sha256sum ./publish/geosite.dat > ./publish/geosite.dat.sha256 + - name: Release dat files uses: Ricky-Hao/action-release@master env: