mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-15 18:23:42 +08:00
update
This commit is contained in:
1 parent
5509fee14d
commit
b65e0d3ef7
3 files changed
+16
-16
No files matched your search
@@ -30,24 +30,24 @@ jobs:
|
||||
repository: loyalsoldier/v2ray-rules-dat
|
||||
ref: release
|
||||
path: dat-release
|
||||
- name: Checkout mosdns branch
|
||||
- name: Checkout sub branch
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: mosdns
|
||||
path: mosdns
|
||||
- name: Clean mosdns branch
|
||||
- name: Clean sub branch
|
||||
continue-on-error: true
|
||||
run: rm mosdns/*
|
||||
- name: Rebuild mosdns branch
|
||||
- name: Rebuild sub branch
|
||||
run: |
|
||||
./raydata.py dat-release/geoip.dat -c cn -o mosdns/chinaip.txt geoip
|
||||
./raydata.py dat-release/geosite.dat -c cn -o mosdns/chinasite.txt geosite --formatter format_mosdns.json
|
||||
- name: Push to mosdns branch
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cd mosdns
|
||||
tar -cf mosdns.tar *.txt
|
||||
rm *.txt
|
||||
- name: Push to sub branch
|
||||
continue-on-error: true
|
||||
run: |
|
||||
git config --global user.name "${GITHUB_ACTOR}"
|
||||
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||
git add .
|
||||
|
||||
@@ -30,17 +30,17 @@ jobs:
|
||||
repository: gaoyifan/china-operator-ip
|
||||
ref: ip-lists
|
||||
path: ip-lists
|
||||
- name: Checkout net branch
|
||||
- name: Checkout sub branch
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: net
|
||||
path: net
|
||||
- name: Clean net branch
|
||||
- name: Clean sub branch
|
||||
continue-on-error: true
|
||||
run: rm net/*
|
||||
- name: Rebuild net branch
|
||||
- name: Rebuild sub branch
|
||||
run: ./exp_net.sh
|
||||
- name: Push to net branch
|
||||
- name: Push to sub branch
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cd net
|
||||
|
||||
@@ -30,25 +30,25 @@ jobs:
|
||||
repository: gaoyifan/china-operator-ip
|
||||
ref: ip-lists
|
||||
path: ip-lists
|
||||
- name: Checkout sha branch
|
||||
- name: Checkout sub branch
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: sha
|
||||
path: sha
|
||||
- name: Clean sha branch
|
||||
- name: Clean sub branch
|
||||
continue-on-error: true
|
||||
run: rm sha/*
|
||||
- name: Rebuild sha branch
|
||||
- name: Rebuild sub branch
|
||||
run: |
|
||||
./netgen.py ip-lists/china.txt -o sha/china.sh -p 'ip route add ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
||||
./netgen.py ip-lists/china6.txt -o sha/china6.sh -p 'ip route add ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d || true\n'
|
||||
- name: Push to sha branch
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cd sha
|
||||
chmod +x *.sh
|
||||
tar -cf sha.tar *.sh
|
||||
rm *.sh
|
||||
- name: Push to sub branch
|
||||
continue-on-error: true
|
||||
run: |
|
||||
git config --global user.name "${GITHUB_ACTOR}"
|
||||
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||
git add .
|
||||
|
||||
Reference in new issue
Block a user