File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 repository : cokebar/gfwlist2dnsmasq
5050 path : gfwlist2dnsmasq
5151
52+ - name : Checkout rootmelo92118/sing-geosite
53+ uses : actions/checkout@v6
54+ with :
55+ repository : rootmelo92118/sing-geosite
56+ path : sing-geosite
57+
5258 - name : Setup Go
5359 uses : actions/setup-go@v5
5460 with :
@@ -188,6 +194,19 @@ jobs:
188194 sha256sum geosite.dat > geosite.dat.sha256sum
189195 sha256sum rules.zip > rules.zip.sha256sum
190196
197+ - name : Generate sing-box RULE-SET format
198+ env :
199+ LOCAL_GEOSITE_PATH : ../publish/geosite.dat
200+ run : |
201+ cd sing-geosite || exit 1
202+ go run -v .
203+
204+ - name : Collect sing-box outputs and make sha256sum
205+ run : |
206+ sha256sum sing-geosite/geosite.db > sing-geosite/geosite.db.sha256sum
207+ sha256sum sing-geosite/geosite-cn.db > sing-geosite/geosite-cn.db.sha256sum
208+ cp sing-geosite/geosite* ./publish
209+
191210 - name : Release and upload assets
192211 uses : svenstaro/upload-release-action@v2
193212 with :
You can’t perform that action at this time.
0 commit comments