File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Github Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - run : |
14+ wget -qO- http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest |
15+ awk -F '|' '$2=="CN" && $3=="ipv4" {printf "%s/%s\n", $4, 32-log($5)/log(2)}' > ignore.list
16+ - uses : ncipollo/release-action@v1
17+ with :
18+ artifacts : ' ignore.list'
19+ token : ${{ secrets.GITHUB_TOKEN }}
20+ - uses : slackapi/slack-github-action@v1.16.0
21+ with :
22+ channel-id : github
23+ slack-message : ' github release ok'
24+ env :
25+ SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
Original file line number Diff line number Diff line change 1+ cn-ignore-list
2+ ==============
3+
4+ [ ignore.list] [ 1 ] is used by [ openwrt-shadowsocks] [ 2 ]
5+
6+ ``` bash
7+ wget -qO- http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest |
8+ awk -F ' |' ' $2=="CN" && $3=="ipv4" {printf "%s/%s\n", $4, 32-log($5)/log(2)}' > ignore.list
9+ ```
10+
11+ [ 1 ] : https://github.com/easypi/cn-ignore-list/releases
12+ [ 2 ] : https://github.com/shadowsocks/openwrt-shadowsocks
You can’t perform that action at this time.
0 commit comments